diff options
author | Peter Eckersley <pde@users.noreply.github.com> | 2016-05-10 09:33:39 +0300 |
---|---|---|
committer | Peter Eckersley <pde@users.noreply.github.com> | 2016-05-10 09:33:39 +0300 |
commit | a6d5b525b2e276335e8a25f5d555c40794991323 (patch) | |
tree | 4909ccf3c2ebc1b11ca43ca7da93ef4621e34c41 /tools | |
parent | 5d96979a9d5b3a9d4e5bcfb1f0f173b349377432 (diff) | |
parent | d38cf4a74ed565679c1cd9998c23b8af55be9bfe (diff) |
Merge pull request #2923 from certbot/release-script-prep
Release script prep
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/release.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/release.sh b/tools/release.sh index d41192af9..e6169c5c8 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -45,7 +45,7 @@ export GPG_TTY=$(tty) PORT=${PORT:-1234} # subpackages to be released -SUBPKGS=${SUBPKGS:-"acme certbot-apache certbot-nginx letshelp-certbot"} +SUBPKGS=${SUBPKGS:-"acme certbot-apache certbot-nginx letshelp-certbot letsencrypt letsencrypt-apache letsencrypt-nginx letshelp-letsencrypt"} subpkgs_modules="$(echo $SUBPKGS | sed s/-/_/g)" # certbot_compatibility_test is not packaged because: # - it is not meant to be used by anyone else than Certbot devs @@ -162,12 +162,12 @@ done deactivate # pin pip hashes of the things we just built -for pkg in acme certbot certbot-apache ; do +for pkg in acme certbot certbot-apache letsencrypt letsencrypt-apache ; do echo $pkg==$version \\ pip hash dist."$version/$pkg"/*.{whl,gz} | grep "^--hash" | python2 -c 'from sys import stdin; input = stdin.read(); print " ", input.replace("\n--hash", " \\\n --hash"),' done > /tmp/hashes.$$ -if ! wc -l /tmp/hashes.$$ | grep -qE "^\s*9 " ; then +if ! wc -l /tmp/hashes.$$ | grep -qE "^\s*15 " ; then echo Unexpected pip hash output exit 1 fi @@ -188,9 +188,10 @@ while ! openssl dgst -sha256 -verify $RELEASE_OPENSSL_PUBKEY -signature \ done # copy leauto to the root, overwriting the previous release version +cp -p letsencrypt-auto-source/letsencrypt-auto certbot-auto cp -p letsencrypt-auto-source/letsencrypt-auto letsencrypt-auto -git add letsencrypt-auto letsencrypt-auto-source +git add certbot-auto letsencrypt-auto letsencrypt-auto-source 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" |