@@ -20,12 +20,13 @@ No need to add a tag here, it'll be added when the release is created.
2020
2121### Check the latest upstream release
2222
23- - currently does not apply
23+ Get the version from the upstream
24+ [ VERSION] ( https://github.com/qemu/qemu/blob/master/VERSION ) file.
2425
2526### Increase the version
2627
27- Determine the version (like ` 6.2 .0` ) and update the ` scripts/VERSION `
28- file; the format is ` 6.2 .0-1` . The fourth number is the xPack release number
28+ Determine the version (like ` 7.0 .0` ) and update the ` scripts/VERSION `
29+ file; the format is ` 7.0 .0-1` . The fourth number is the xPack release number
2930of this version. A fifth number will be added when publishing
3031the package on the ` npm ` server.
3132
@@ -36,7 +37,7 @@ Check GitHub issues and pull requests:
3637- < https://github.com/xpack-dev-tools/qemu-riscv-xpack/issues/ >
3738- < https://github.com/xpack-dev-tools/qemu/issues/ >
3839
39- and fix them; assign them to a milestone (like ` 6.2 .0-1` ).
40+ and fix them; assign them to a milestone (like ` 7.0 .0-1` ).
4041
4142### Check ` README.md `
4243
@@ -54,8 +55,8 @@ but in the version specific release page.
5455
5556- open the ` CHANGELOG.md ` file
5657- check if all previous fixed issues are in
57- - add a new entry like _ - v6.2 .0-1 prepared_
58- - commit with a message like _ prepare v6.2 .0-1_
58+ - add a new entry like _ - v7.0 .0-1 prepared_
59+ - commit with a message like _ prepare v7.0 .0-1_
5960
6061Note: if you missed to update the ` CHANGELOG.md ` before starting the build,
6162edit the file and rerun the build, it should take only a few minutes to
@@ -67,7 +68,7 @@ In the qemu.git fork:
6768
6869- TODO
6970- update the ` xpack-riscv-develop ` branch
70- - add a ` v6.2 .0-1-xpack-riscv` tag
71+ - add a ` v7.0 .0-1-xpack-riscv` tag
7172
7273### Update the version specific code
7374
@@ -235,20 +236,20 @@ To test graphical mode, use Thomas Huth's presentation:
235236curl -L https://www.qemu-advent-calendar.org/2018/download/day24.tar.xz \
236237 -o ${HOME} /Downloads/day24.tar.xz
237238(cd ${HOME} /Downloads; tar xvf day24.tar.xz)
238- export PATH=${HOME} /Downloads/xpack-qemu-riscv-6.2 .0-1/bin:$PATH
239+ export PATH=${HOME} /Downloads/xpack-qemu-riscv-7.0 .0-1/bin:$PATH
239240bash ${HOME} /Downloads/day24/run.sh
240241```
241242
242243## Create a new GitHub pre-release draft
243244
244- - in ` CHANGELOG.md ` , add the release date and a message like _ - v6.2 .0-1 released_
245+ - in ` CHANGELOG.md ` , add the release date and a message like _ - v7.0 .0-1 released_
245246- commit and push the ` xpack-develop ` branch
246247- run the xPack action ` trigger-workflow-publish-release `
247248
248249The result is a
249250[ draft pre-release] ( https://github.com/xpack-dev-tools/qemu-riscv-xpack/releases/ )
250- tagged like ** v6.2 .0-1** (mind the dash in the middle!) and
251- named like ** xPack QEMU RISC-V v6.2 .0-1** (mind the dash),
251+ tagged like ** v7.0 .0-1** (mind the dash in the middle!) and
252+ named like ** xPack QEMU RISC-V v7.0 .0-1** (mind the dash),
252253with all binaries attached.
253254
254255- edit the draft and attach it to the ` xpack-develop ` branch (important!)
@@ -270,7 +271,7 @@ If any, refer to closed
270271## Update the preview Web
271272
272273- commit the ` develop ` branch of ` xpack/web-jekyll ` GitHub repo;
273- use a message like ** xPack QEMU RISC-V v6.2 .0-1 released**
274+ use a message like ** xPack QEMU RISC-V v7.0 .0-1 released**
274275- push to GitHub
275276- wait for the GitHub Pages build to complete
276277- the preview web is < https://xpack.github.io/web-preview/news/ >
@@ -299,18 +300,18 @@ watching this project.
299300- compare the SHA sums with those shown by ` cat *.sha `
300301- check the executable names
301302- commit all changes, use a message like
302- ` package.json: update urls for 6.2 .0-1.1 release ` (without ` v ` )
303+ ` package.json: update urls for 7.0 .0-1.1 release ` (without ` v ` )
303304
304305## Publish on the npmjs.com server
305306
306307- select the ` xpack-develop ` branch
307308- check the latest commits ` npm run git-log `
308- - update ` CHANGELOG.md ` , add a line like _ - v6.2 .0-1.1 published on npmjs.com_
309- - commit with a message like _ CHANGELOG: publish npm v6.2 .0-1.1_
309+ - update ` CHANGELOG.md ` , add a line like _ - v7.0 .0-1.1 published on npmjs.com_
310+ - commit with a message like _ CHANGELOG: publish npm v7.0 .0-1.1_
310311- ` npm pack ` and check the content of the archive, which should list
311312 only the ` package.json ` , the ` README.md ` , ` LICENSE ` and ` CHANGELOG.md ` ;
312313 possibly adjust ` .npmignore `
313- - ` npm version 6.2 .0-1.1 ` ; the first 5 numbers are the same as the
314+ - ` npm version 7.0 .0-1.1 ` ; the first 5 numbers are the same as the
314315 GitHub release; the sixth number is the npm specific version
315316- the commits and the tag should have been pushed by the ` postversion ` script;
316317 if not, push them with ` git push origin --tags `
@@ -339,12 +340,12 @@ The tests results are available from the
339340When the release is considered stable, promote it as ` latest ` :
340341
341342- ` npm dist-tag ls @xpack-dev-tools/qemu-riscv `
342- - ` npm dist-tag add @xpack-dev-tools/qemu-riscv@6.2 .0-1.1 latest `
343+ - ` npm dist-tag add @xpack-dev-tools/qemu-riscv@7.0 .0-1.1 latest `
343344- ` npm dist-tag ls @xpack-dev-tools/qemu-riscv `
344345
345346In case the previous version is not functional and needs to be unpublished:
346347
347- - ` npm unpublish @xpack-dev-tools/qemu-riscv@6.2 .0-1.X `
348+ - ` npm unpublish @xpack-dev-tools/qemu-riscv@7.0 .0-1.X `
348349
349350## Update the Web
350351
@@ -366,7 +367,7 @@ In case the previous version is not functional and needs to be unpublished:
366367
367368- in a separate browser windows, open [ TweetDeck] ( https://tweetdeck.twitter.com/ )
368369- using the ` @xpack_project ` account
369- - paste the release name like ** xPack QEMU RISC-V v6.2 .0-1 released**
370+ - paste the release name like ** xPack QEMU RISC-V v7.0 .0-1 released**
370371- paste the link to the Web page
371372 [ release] ( https://xpack.github.io/qemu-riscv/releases/ )
372373- click the ** Tweet** button
0 commit comments