Skip to content

Commit

Permalink
Merge #7881: Update release process
Browse files Browse the repository at this point in the history
f154470 [contrib] Remove reference to sf and add doc to verify.sh (MarcoFalke)
182bec4 contrib: remove hardcoded version from verify.sh (Wladimir J. van der Laan)
c907f4d doc: Update release process (Wladimir J. van der Laan)
  • Loading branch information
laanwj committed Apr 25, 2016
2 parents f9c2ac7 + f154470 commit c4e8390
Show file tree
Hide file tree
Showing 5 changed files with 203 additions and 125 deletions.
4 changes: 2 additions & 2 deletions contrib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ Test and Verify Tools
### [TestGen](/contrib/testgen) ###
Utilities to generate test vectors for the data-driven Bitcoin tests.

### [Verify SF Binaries](/contrib/verifysfbinaries) ###
This script attempts to download and verify the signature file SHA256SUMS.asc from SourceForge.
### [Verify Binaries](/contrib/verifybinaries) ###
This script attempts to download and verify the signature file SHA256SUMS.asc from bitcoin.org.
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
### Verify Binaries ###
### Verify Binaries
This script attempts to download the signature file `SHA256SUMS.asc` from https://bitcoin.org.

It first checks if the signature passes, and then downloads the files specified in the file, and checks if the hashes of these files match those that are specified in the signature file.

The script returns 0 if everything passes the checks. It returns 1 if either the signature check or the hash check doesn't pass. If an error occurs the return value is 2.

Usage:

```sh
./verify.sh bitcoin-core-0.11.2
./verify.sh bitcoin-core-0.12.0
```
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ BASEDIR="https://bitcoin.org/bin/"
VERSIONPREFIX="bitcoin-core-"
RCVERSIONSTRING="rc"

#this URL is used if a version number is not specified as an argument to the script
SIGNATUREFILE="$BASEDIR""$VERSIONPREFIX""0.10.4/""$RCSUBDIR""$SIGNATUREFILENAME"

if [ ! -d "$WORKINGDIR" ]; then
mkdir "$WORKINGDIR"
fi
Expand Down Expand Up @@ -53,7 +50,8 @@ if [ -n "$1" ]; then

SIGNATUREFILE="$BASEDIR$SIGNATUREFILENAME"
else
BASEDIR="${SIGNATUREFILE%/*}/"
echo "Error: need to specify a version on the command line"
exit 2
fi

#first we fetch the file containing the signature
Expand Down
15 changes: 15 additions & 0 deletions doc/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
(note: this is a temporary file, to be added-to by anybody, and moved to
release-notes at release time)

Bitcoin Core version *version* is now available from:

<https://bitcoin.org/bin/bitcoin-core-*version*/>

This is a new major version release, including new features, various bugfixes
and performance improvements, as well as updated translations.

Please report bugs using the issue tracker at github:

<https://github.com/bitcoin/bitcoin/issues>

To receive security and update notifications, please subscribe to:

<https://bitcoincore.org/en/list/announcements/join/>

Notable changes
===============

Expand Down
Loading

0 comments on commit c4e8390

Please sign in to comment.