Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbmw <bmw@users.noreply.github.com>2016-01-28 00:32:03 +0300
committerbmw <bmw@users.noreply.github.com>2016-01-28 00:32:03 +0300
commitf51089a8dde93cbedeb0b0a813261d4e12484d88 (patch)
treee0c1f0dc30ad1c6cce93b46e7e76dd2f312f66ef
parentb1bb0c522c0f56402fe362fab081e2b30e400cbe (diff)
parentd1d23b118fb661c26c6a1b5c8f1cdec09fa44ad7 (diff)
Merge pull request #2298 from letsencrypt/fix-release-script
Fix release script
-rwxr-xr-xtools/release.sh33
1 files changed, 15 insertions, 18 deletions
diff --git a/tools/release.sh b/tools/release.sh
index d7dc4b6c6..9d625191e 100755
--- a/tools/release.sh
+++ b/tools/release.sh
@@ -81,21 +81,6 @@ if [ "$RELEASE_BRANCH" != "candidate-$version" ] ; then
fi
git checkout "$RELEASE_BRANCH"
-# ensure we have the latest built version of leauto
-letsencrypt-auto-source/build.py
-
-# and that it's signed correctly
-if ! openssl dgst -sha256 -verify $RELEASE_OPENSSL_PUBKEY -signature \
- letsencrypt-auto-source/letsencrypt-auto.sig \
- letsencrypt-auto-source/letsencrypt-auto ; then
- echo Failed letsencrypt-auto signature check on "$RELEASE_BRANCH"
- echo please fix that and re-run
- exit 1
-else
- echo Signature check on letsencrypt-auto successful
-fi
-
-
SetVersion() {
ver="$1"
for pkg_dir in $SUBPKGS letsencrypt-compatibility-test
@@ -110,9 +95,6 @@ SetVersion() {
}
SetVersion "$version"
-git commit --gpg-sign="$RELEASE_GPG_KEY" -m "Release $version"
-git tag --local-user "$RELEASE_GPG_KEY" \
- --sign --message "Release $version" "$tag"
echo "Preparing sdists and wheels"
for pkg_dir in . $SUBPKGS
@@ -175,6 +157,21 @@ for module in letsencrypt $subpkgs_modules ; do
done
deactivate
+# ensure we have the latest built version of leauto
+letsencrypt-auto-source/build.py
+
+# and that it's signed correctly
+while ! openssl dgst -sha256 -verify $RELEASE_OPENSSL_PUBKEY -signature \
+ letsencrypt-auto-source/letsencrypt-auto.sig \
+ letsencrypt-auto-source/letsencrypt-auto ; do
+ read -p "Please correctly sign letsencrypt-auto with offline-signrequest.sh"
+done
+
+git diff --cached
+git commit --gpg-sign="$RELEASE_GPG_KEY" -m "Release $version"
+git tag --local-user "$RELEASE_GPG_KEY" \
+ --sign --message "Release $version" "$tag"
+
cd ..
echo Now in $PWD
name=${root_without_le%.*}