You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that causes rejection of blocks in the past history.
39
39
- Clear the release notes and move them to the wiki (see "Write the release notes" below).
40
40
41
-
#### After branch-off (on master)
42
-
43
-
- Update the version of `contrib/gitian-descriptors/*.yml`.
44
-
45
41
#### After branch-off (on the major release branch)
46
42
47
43
- Update the versions.
@@ -64,14 +60,14 @@ This will perform a few last-minute consistency checks in the build system files
64
60
65
61
### First time / New builders
66
62
67
-
If you're using the automated script (found in [contrib/gitian-build.py](/contrib/gitian-build.py)), then at this point you should run it with the "--setup" command. Otherwise ignore this.
63
+
Install Guix using one of the installation methods detailed in
git log --format='- %aN' v(current version, e.g. 0.20.0)..v(new version, e.g. 0.20.1) | sort -fiu
88
84
89
-
### Setup and perform Gitian builds
90
-
91
-
If you're using the automated script (found in [contrib/gitian-build.py](/contrib/gitian-build.py)), then at this point you should run it with the "--build" command. Otherwise ignore this.
Create the macOS SDK tarball, see the [macdeploy instructions](/contrib/macdeploy/README.md#deterministic-macos-dmg-notes) for details, and copy it into the inputs directory.
123
-
124
-
### Optional: Seed the Gitian sources cache and offline git repositories
125
-
126
-
NOTE: Gitian is sometimes unable to download files. If you have errors, try the step below.
127
-
128
-
By default, Gitian will fetch source files as needed. To cache them ahead of time, make sure you have checked out the tag you want to build in bitcoin, then:
129
-
130
-
pushd ./gitian-builder
131
-
make -C ../bitcoin/depends download SOURCES_PATH=`pwd`/cache/common
132
-
popd
133
-
134
-
Only missing files will be fetched, so this is safe to re-run for each build.
135
-
136
-
NOTE: Offline builds must use the --url flag to ensure Gitian fetches only from local URLs. For example:
85
+
### Setup and perform Guix builds
137
86
138
-
pushd ./gitian-builder
139
-
./bin/gbuild --url bitcoin=/path/to/bitcoin,signature=/path/to/sigs {rest of arguments}
140
-
popd
87
+
Checkout the Bitcoin Core version you'd like to build:
141
88
142
-
The gbuild invocations below <b>DO NOT DO THIS</b> by default.
instructions](/contrib/macdeploy/README.md#deterministic-macos-dmg-notes) for
109
+
details.
161
110
162
-
Build output expected:
111
+
### Build and attest to build outputs:
163
112
164
-
1. source tarball (`bitcoin-${VERSION}.tar.gz`)
165
-
2. linux 32-bit and 64-bit dist tarballs (`bitcoin-${VERSION}-linux[32|64].tar.gz`)
166
-
3. windows 32-bit and 64-bit unsigned installers and dist zips (`bitcoin-${VERSION}-win[32|64]-setup-unsigned.exe`, `bitcoin-${VERSION}-win[32|64].zip`)
167
-
4. macOS unsigned installer and dist tarball (`bitcoin-${VERSION}-osx-unsigned.dmg`, `bitcoin-${VERSION}-osx64.tar.gz`)
168
-
5. Gitian signatures (in `gitian.sigs/${VERSION}-<linux|{win,osx}-unsigned>/(your Gitian key)/`)
113
+
Follow the relevant Guix README.md sections:
114
+
-[Performing a build](/contrib/guix/README.md#performing-a-build)
115
+
-[Attesting to build outputs](/contrib/guix/README.md#attesting-to-build-outputs)
169
116
170
-
### Verify other gitian builders signatures to your own. (Optional)
117
+
### Verify other builders' signatures to your own. (Optional)
171
118
172
119
Add other builders keys to your gpg keyring, and/or refresh keys: See `../bitcoin/contrib/builder-keys/README.md`.
- Only one person handles codesigning. Everyone else should skip to the next step.
@@ -201,7 +143,7 @@ Codesigner only: Sign the macOS binary:
201
143
tar xf bitcoin-osx-unsigned.tar.gz
202
144
./detached-sig-create.sh -s "Key ID"
203
145
Enter the keychain password and authorize the signature
204
-
Move signature-osx.tar.gz back to the gitian host
146
+
Move signature-osx.tar.gz back to the guix-build host
205
147
206
148
Codesigner only: Sign the windows binaries:
207
149
@@ -212,93 +154,84 @@ Codesigner only: Sign the windows binaries:
212
154
213
155
Codesigner only: Commit the detached codesign payloads:
214
156
215
-
cd ~/bitcoin-detached-sigs
216
-
checkout the appropriate branch for this release series
217
-
rm -rf *
218
-
tar xf signature-osx.tar.gz
219
-
tar xf signature-win.tar.gz
220
-
git add -A
221
-
git commit -m "point to ${VERSION}"
222
-
git tag -s v${VERSION} HEAD
223
-
git push the current branch and new tag
157
+
```sh
158
+
pushd ./bitcoin-detached-sigs
159
+
# checkout the appropriate branch for this release series
160
+
rm -rf ./*
161
+
tar xf signature-osx.tar.gz
162
+
tar xf signature-win.tar.gz
163
+
git add -A
164
+
git commit -m "point to ${VERSION}"
165
+
git tag -s "v${VERSION}" HEAD
166
+
git push the current branch and new tag
167
+
popd
168
+
```
224
169
225
170
Non-codesigners: wait for Windows/macOS detached signatures:
226
171
227
172
- Once the Windows/macOS builds each have 3 matching signatures, they will be signed with their respective release keys.
228
173
- Detached signatures will then be committed to the [bitcoin-detached-sigs](https://github.com/bitcoin-core/bitcoin-detached-sigs) repository, which can be combined with the unsigned apps to create signed binaries.
229
174
230
-
Create (and optionally verify) the signed macOS binary:
175
+
Create (and optionally verify) the codesigned outputs:
0 commit comments