mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 03:22:14 +02:00
Merge pull request #2173 from letsencrypt/le-compat-release-version
Ensure that all pip upload version #s are reflect in git
This commit is contained in:
+5
-2
@@ -80,14 +80,17 @@ git checkout "$RELEASE_BRANCH"
|
||||
|
||||
SetVersion() {
|
||||
ver="$1"
|
||||
for pkg_dir in $SUBPKGS
|
||||
for pkg_dir in $SUBPKGS letsencrypt-compatibility-test
|
||||
do
|
||||
sed -i "s/^version.*/version = '$ver'/" $pkg_dir/setup.py
|
||||
done
|
||||
sed -i "s/^__version.*/__version__ = '$ver'/" letsencrypt/__init__.py
|
||||
|
||||
# interactive user input
|
||||
git add -p letsencrypt $SUBPKGS letsencrypt-compatibility-test
|
||||
|
||||
git add -p letsencrypt $SUBPKGS # interactive user input
|
||||
}
|
||||
|
||||
SetVersion "$version"
|
||||
git commit --gpg-sign="$RELEASE_GPG_KEY" -m "Release $version"
|
||||
git tag --local-user "$RELEASE_GPG_KEY" \
|
||||
|
||||
Reference in New Issue
Block a user