summaryrefslogtreecommitdiff
path: root/hack
diff options
context:
space:
mode:
authorjesperpedersen <jesper.pedersen@redhat.com>2021-09-07 09:52:24 -0400
committerjesperpedersen <jesper.pedersen@redhat.com>2021-09-07 10:53:26 -0400
commit0d1ba0a58fdb15af7ee3f3650f633156575d296d (patch)
tree37456538e905b1dcbc8b07c76d40ad93c312b5dc /hack
parentc20227bd16cae98247955b14f6dfea33a26c6a0b (diff)
downloadpodman-0d1ba0a58fdb15af7ee3f3650f633156575d296d.tar.gz
podman-0d1ba0a58fdb15af7ee3f3650f633156575d296d.tar.bz2
podman-0d1ba0a58fdb15af7ee3f3650f633156575d296d.zip
Remove changelog.txt from the repository
The changelog.txt file hasn't been kept in sync with release tags, especially on main, so remove it. The release notes will be featured in RELEASE_NOTES.md. Signed-off-by: jesperpedersen <jesper.pedersen@redhat.com> [NO TESTS NEEDED]
Diffstat (limited to 'hack')
-rwxr-xr-xhack/release.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/hack/release.sh b/hack/release.sh
index 34842de2e..7925d55ad 100755
--- a/hack/release.sh
+++ b/hack/release.sh
@@ -36,20 +36,10 @@ write_spec_version()
sed -i "s/^\(Version: *\).*/\1${LOCAL_VERSION}/" contrib/spec/podman.spec.in
}
-write_changelog()
-{
- echo "- Changelog for v${VERSION} (${DATE})" >.changelog.txt &&
- git log --no-merges --format=' * %s' "${LAST_TAG}..HEAD" >>.changelog.txt &&
- echo >>.changelog.txt &&
- cat changelog.txt >>.changelog.txt &&
- mv -f .changelog.txt changelog.txt
-}
-
release_commit()
{
write_go_version "${VERSION}" &&
write_spec_version "${VERSION}" &&
- write_changelog &&
git commit -asm "Bump to v${VERSION}"
}