diff options
author | W. Trevor King <wking@tremily.us> | 2018-06-01 13:50:03 -0700 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-06-01 21:39:45 +0000 |
commit | 500b94968b4e36a80540efa55f4c6be231464cce (patch) | |
tree | c18440acea878743e703c228aa3f53e1b9358c21 /hack | |
parent | 4f5e6728b713798dd0fe4d6f3c8b52e438285190 (diff) | |
download | podman-500b94968b4e36a80540efa55f4c6be231464cce.tar.gz podman-500b94968b4e36a80540efa55f4c6be231464cce.tar.bz2 podman-500b94968b4e36a80540efa55f4c6be231464cce.zip |
hack/release.sh: No longer need to bump setup.py
Since 727ecfea (Use Version from spec file in setup.py, 2018-05-18, #807),
setup.py has been pulling this from a PODMAN_VERSION environment
variable (which can be set in spec files), and there's no need for us
to bump it as part of our releases.
Signed-off-by: W. Trevor King <wking@tremily.us>
Closes: #879
Approved by: mheon
Diffstat (limited to 'hack')
-rwxr-xr-x | hack/release.sh | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/hack/release.sh b/hack/release.sh index 01d2e81a9..986e2b58b 100755 --- a/hack/release.sh +++ b/hack/release.sh @@ -21,12 +21,6 @@ write_go_version() sed -i "s/^\(const Version = \"\).*/\1${LOCAL_VERSION}\"/" version/version.go } -write_python_version() -{ - LOCAL_VERSION="$1" - sed -i "s/^\( *version='*\).*/\1${LOCAL_VERSION}'/" contrib/python/setup.py -} - write_spec_version() { LOCAL_VERSION="$1" @@ -51,7 +45,6 @@ write_changelog() release_commit() { write_go_version "${VERSION}" && - write_python_version "${VERSION}" && write_changelog && git commit -asm "Bump to v${VERSION}" } @@ -59,7 +52,6 @@ release_commit() dev_version_commit() { write_go_version "${NEXT_VERSION}-dev" && - write_python_version "${NEXT_VERSION}" && write_spec_version "${VERSION}" && git commit -asm "Bump to v${NEXT_VERSION}-dev" } |