@@ -13,7 +13,7 @@ Before starting the build, perform some checks and tweaks.
13
13
14
14
To prepare a new release, first determine the Meson Build version
15
15
(like ` 0.56.2 ` ) and update the ` scripts/VERSION ` file. The format is
16
- ` 0.56.2-1 ` . The fourth number is the xPack release number
16
+ ` 0.56.2-2 ` . The fourth number is the xPack release number
17
17
of this version. A fifth number will be added when publishing
18
18
the package on the ` npm ` server.
19
19
@@ -24,9 +24,9 @@ the package on the `npm` server.
24
24
25
25
Check GitHub issues and pull requests:
26
26
27
- - https://github.com/xpack-dev-tools/meson-build-xpack/issues
27
+ - https://github.com/xpack-dev-tools/meson-build-xpack/issues/
28
28
29
- and fix them; assign them to a milestone (like ` 0.56.2-1 ` ).
29
+ and fix them; assign them to a milestone (like ` 0.56.2-2 ` ).
30
30
31
31
### Check ` README.md `
32
32
@@ -38,8 +38,8 @@ but in the version specific file (below).
38
38
39
39
- open the ` CHANGELOG.md ` file
40
40
- check if all previous fixed issues are in
41
- - add a new entry like _ v0.56.2-1 prepared_
42
- - commit commit with a message like _ CHANGELOG: prepare v0.56.2-1 _
41
+ - add a new entry like _ v0.56.2-2 prepared_
42
+ - commit with a message like _ CHANGELOG: prepare v0.56.2-2 _
43
43
44
44
Note: if you missed to update the ` CHANGELOG.md ` before starting the build,
45
45
edit the file and rerun the build, it should take only a few minutes to
@@ -164,15 +164,15 @@ TBD
164
164
- commit and push the ` xpack-develop ` branch
165
165
- go to the GitHub [ releases] ( https://github.com/xpack-dev-tools/meson-build-xpack/releases ) page
166
166
- click the ** Draft a new release** button
167
- - name the tag like ** v0.56.2-1 ** (mind the dash in the middle!)
167
+ - name the tag like ** v0.56.2-2 ** (mind the dash in the middle!)
168
168
- select the ` xpack-develop ` branch
169
- - name the release like ** xPack Meson Build v0.56.2-1 ** (mind the dash)
169
+ - name the release like ** xPack Meson Build v0.56.2-2 ** (mind the dash)
170
170
- as description, use:
171
171
172
172
```
173
- 
173
+ 
174
174
175
- Version 0.56.2-1 is a new release of the **xPack Meson Build** package, following the Meson release.
175
+ Version 0.56.2-2 is a new release of the **xPack Meson Build** package, following the Meson release.
176
176
177
177
_At this moment these binaries are provided for tests only!_
178
178
```
@@ -195,7 +195,7 @@ Using the scripts in `tests/scripts/`, start:
195
195
196
196
The test results are available from:
197
197
198
- - https://travis-ci.org /github/xpack-dev-tools/meson-build-xpack
198
+ - https://travis-ci.com /github/xpack-dev-tools/meson-build-xpack
199
199
200
200
For more details, see ` tests/scripts/README.md ` .
201
201
@@ -206,8 +206,8 @@ In the `xpack/web-jekyll` GitHub repo:
206
206
- select the ` develop ` branch
207
207
- add a new file to ` _posts/meson-build/releases `
208
208
- name the file like ` 2020-10-16-meson-build-v0-56-2-1-released.md `
209
- - name the post like: ** xPack Meson Build v0.56.2-1 released** .
210
- - as ` download_url ` use the tagged URL like ` https://github.com/xpack-dev-tools/meson-build-xpack/releases/tag/v0.56.2-1 / `
209
+ - name the post like: ** xPack Meson Build v0.56.2-2 released** .
210
+ - as ` download_url ` use the tagged URL like ` https://github.com/xpack-dev-tools/meson-build-xpack/releases/tag/v0.56.2-2 / `
211
211
- update the ` date: ` field with the current date
212
212
- update the Travis URLs using the actual test pages
213
213
- update the SHA sums via copy/paste from the original build machines
@@ -229,25 +229,25 @@ Copy/paste the build report at the end of the post as:
229
229
The SHA-256 hashes for the files are:
230
230
231
231
06d2251a893f932b38f41c418cdc14e51893f68553ba5a183f02001bd92d9454
232
- xpack-meson-build-v0.56.2-1 -darwin-x64.tar.gz
232
+ xpack-meson-build-v0.56.2-2 -darwin-x64.tar.gz
233
233
234
234
a1c7e77001cb549bd6b6dc00bb0193283179667e56f652182204229b55f58bc8
235
- xpack-meson-build-v0.56.2-1 -linux-arm64.tar.gz
235
+ xpack-meson-build-v0.56.2-2 -linux-arm64.tar.gz
236
236
237
237
c812f12b7159b7f149c211fb521c0e405de64bb087f138cda8ea5ac04be87e15
238
- xpack-meson-build-v0.56.2-1 -linux-arm.tar.gz
238
+ xpack-meson-build-v0.56.2-2 -linux-arm.tar.gz
239
239
240
240
ebb4b08e8b94bd04b5493549b0ba2c02f1be5cc5f42c754e09a0c279ae8cc854
241
- xpack-meson-build-v0.56.2-1 -linux-x32.tar.gz
241
+ xpack-meson-build-v0.56.2-2 -linux-x32.tar.gz
242
242
243
243
687ac941c995eab069955fd673b6cd78a6b95048cac4a92728b09be444d0118e
244
- xpack-meson-build-v0.56.2-1 -linux-x64.tar.gz
244
+ xpack-meson-build-v0.56.2-2 -linux-x64.tar.gz
245
245
246
246
a0bde52aa8846a2a5b982031ad0bdebea55b9b3953133b363f54862473d71686
247
- xpack-meson-build-v0.56.2-1 -win32-x32.zip
247
+ xpack-meson-build-v0.56.2-2 -win32-x32.zip
248
248
249
249
b25987e4153e42384ff6273ba228c3eaa7a61a2a6cc8f7a3fbf800099c3f6a49
250
- xpack-meson-build-v0.56.2-1 -win32-x64.zip
250
+ xpack-meson-build-v0.56.2-2 -win32-x64.zip
251
251
```
252
252
253
253
## Check the SHA sums
@@ -262,7 +262,7 @@ cat *.sha
262
262
## Update the preview Web
263
263
264
264
- commit the ` develop ` branch of ` xpack/web-jekyll ` GitHub repo; use a message
265
- like ** xPack Meson Build v0.56.2-1 released**
265
+ like ** xPack Meson Build v0.56.2-2 released**
266
266
- wait for the GitHub Pages build to complete
267
267
- the preview web is https://xpack.github.io/web-preview/
268
268
@@ -272,7 +272,7 @@ cat *.sha
272
272
- run ` xpm-dev binaries-update `
273
273
274
274
```
275
- xpm-dev binaries-update -C ~/Downloads/meson-build-xpack.git '0.56.2-1 ' "${HOME}/Downloads/xpack-binaries/meson-build"
275
+ xpm-dev binaries-update -C ~/Downloads/meson-build-xpack.git '0.56.2-2 ' "${HOME}/Downloads/xpack-binaries/meson-build"
276
276
```
277
277
278
278
- open the GitHub [ releases] ( https://github.com/xpack-dev-tools/meson-build-xpack/releases )
@@ -285,19 +285,20 @@ xpm-dev binaries-update -C ~/Downloads/meson-build-xpack.git '0.56.2-1' "${HOME}
285
285
- compare the SHA sums with those shown by ` cat *.sha `
286
286
- check the executable names
287
287
- commit all changes, use a message like
288
- ` package.json: update urls for 0.56.2-1 .1 release ` (without ` v ` )
288
+ ` package.json: update urls for 0.56.2-2 .1 release ` (without ` v ` )
289
289
290
290
## Publish on the npmjs server
291
291
292
292
- select the ` xpack-develop ` branch
293
293
- check the latest commits ` npm run git-log `
294
294
- update ` CHANGELOG.md ` ; commit with a message like
295
- _ CHANGELOG: prepare npm v0.56.2-1 .1_
295
+ _ CHANGELOG: prepare npm v0.56.2-2 .1_
296
296
- ` npm pack ` and check the content of the archive, which should list
297
297
only the ` package.json ` , the ` README.md ` , ` LICENSE ` and ` CHANGELOG.md `
298
- - ` npm version v0.56.2-1 .1 ` ; the first 4 numbers are the same as the
298
+ - ` npm version v0.56.2-2 .1 ` ; the first 4 numbers are the same as the
299
299
GitHub release; the fifth number is the npm specific version
300
300
- push the ` xpack-develop ` branch to GitHub
301
+ - push tags with ` git push origin --tags `
301
302
- ` npm publish --tag next ` (use ` --access public ` when publishing for
302
303
the first time)
303
304
@@ -312,7 +313,7 @@ will install the package on Intel Linux 64-bit, macOS and Windows 64-bit.
312
313
313
314
The test results are available from:
314
315
315
- - https://travis-ci.org /github/xpack-dev-tools/meson-build-xpack
316
+ - https://travis-ci.com /github/xpack-dev-tools/meson-build-xpack
316
317
317
318
For 32-bit Windows, 32-bit Intel GNU/Linux and 32-bit Arm, install manually.
318
319
@@ -331,23 +332,23 @@ xpm install --global @xpack-dev-tools/meson-build@next
331
332
On GNU/Linux systems, including Raspberry Pi, use the following commands:
332
333
333
334
``` bash
334
- ~ /.local/xPacks/@xpack-dev-tools/meson-build/0.56.2-1 .1/.content/bin/meson --version
335
+ ~ /.local/xPacks/@xpack-dev-tools/meson-build/0.56.2-2 .1/.content/bin/meson --version
335
336
336
337
TODO
337
338
```
338
339
339
340
On macOS, use:
340
341
341
342
``` bash
342
- ~ /Library/xPacks/@xpack-dev-tools/meson-build/0.56.2-1 .1/.content/bin/meson --version
343
+ ~ /Library/xPacks/@xpack-dev-tools/meson-build/0.56.2-2 .1/.content/bin/meson --version
343
344
344
345
TODO
345
346
```
346
347
347
348
On Windows use:
348
349
349
350
```
350
- %HOMEPATH%\AppData\Roaming\xPacks\@xpack-dev-tools\meson-build\0.56.2-1 .1\.content\bin\meson --version
351
+ %HOMEPATH%\AppData\Roaming\xPacks\@xpack-dev-tools\meson-build\0.56.2-2 .1\.content\bin\meson --version
351
352
352
353
TODO
353
354
```
362
363
When the release is considered stable, promote it as ` latest ` :
363
364
364
365
- ` npm dist-tag ls @xpack-dev-tools/meson-build `
365
- - ` npm dist-tag add @xpack-dev-tools/[email protected] 1 .1 latest `
366
+ - ` npm dist-tag add @xpack-dev-tools/[email protected] 2 .1 latest `
366
367
- ` npm dist-tag ls @xpack-dev-tools/meson-build `
367
368
368
369
## Update the Web
@@ -384,6 +385,6 @@ When the release is considered stable, promote it as `latest`:
384
385
385
386
- in a separate browser windows, open [ TweetDeck] ( https://tweetdeck.twitter.com/ )
386
387
- using the ` @xpack_project ` account
387
- - paste the release name like ** xPack Meson Build v0.56.2-1 released**
388
+ - paste the release name like ** xPack Meson Build v0.56.2-2 released**
388
389
- paste the link to the blog release URL
389
390
- click the ** Tweet** button
0 commit comments