@@ -33,7 +33,7 @@ mkdir apache-brooklyn-${VERSION_NAME}
3333{% endhighlight %}
3434
3535Refer back to the pre-release area Subversion (see [ Publish to the staging area] ( publish-temp.html ) ), and copy all of
36- the release candidate artifacts - ` -src ` and ` -bin ` , ` .tar.gz ` and ` .zip ` , and all associated ` .md5 ` , ` .sha1 ` , ` . sha256`
36+ the release candidate artifacts - ` -src ` and ` -bin ` , ` .tar.gz ` and ` .zip ` , and all associated ` .sha256 `
3737and ` .asc ` signatures - into this new folder.
3838
3939Rename all of the files to remove the ` -rcN ` designation:
@@ -45,7 +45,7 @@ for f in *; do mv $f ${f//-rc${RC_NUMBER}/}; done
4545The hash files will need patching to refer to the filenames without the ` -rcN ` designation:
4646
4747{% highlight bash %}
48- sed -i.bak 's/-rc'$RC_NUMBER'-/-/' * .md5 * .sha1 * . sha256
48+ sed -i.bak 's/-rc'$RC_NUMBER'-/-/' * .sha256
4949rm -f * .bak
5050{% endhighlight %}
5151
@@ -54,9 +54,7 @@ Note that the PGP signatures do not embed the filename so they do not need to be
5454As a final check, re-test the hashes and signatures:
5555
5656{% highlight bash %}
57- for artifact in $(find * -type f ! \( -name '* .asc' -o -name '* .md5' -o -name '* .sha1' -o -name '* .sha256' \) ); do
58- md5sum -c ${artifact}.md5 && \
59- shasum -a1 -c ${artifact}.sha1 && \
57+ for artifact in $(find * -type f ! \( -name '* .asc' -o -name '* .sha256' \) ); do
6058 shasum -a256 -c ${artifact}.sha256 && \
6159 gpg2 --verify ${artifact}.asc ${artifact} \
6260 || { echo "Invalid signature for $artifact. Aborting!"; break; }
@@ -151,7 +149,7 @@ git checkout master
151149
1521501 . Edit the file ` brooklyn-docs/_config.yml ` - change ` brooklyn-stable-version ` to be the newly-release version, and
153151 ` brooklyn-version ` to be the current SNAPSHOT version on the master branch.
154- 2 . Edit the file ` brooklyn-docs/website/download/verify.md ` to add links to the MD5/SHA1/ SHA256 hashes and PGP signatures for the
152+ 2 . Edit the file ` brooklyn-docs/website/download/verify.md ` to add links to the SHA256 hashes and PGP signatures for the
155153 new version.
1561543 . Edit the file ` brooklyn-docs/website/meta/versions.md ` to add the new version.
1571554 . Build the updated site with ` ./_build/build.sh website-root --install ` .
0 commit comments