Skip to content

Commit f7004aa

Browse files
committed
prepare v12.2.0-3
1 parent 6e5cf97 commit f7004aa

File tree

4 files changed

+42
-38
lines changed

4 files changed

+42
-38
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
Entries in this file are in reverse chronological order.
55

6+
## 2023-02-05
7+
8+
* v12.2.0-3 prepared
9+
610
## 2023-02-02
711

812
* v12.2.0-2.1 published on npmjs.com

README-MAINTAINER.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ update the dependencies in `package.json`.
9494

9595
### Identify the main GCC version
9696

97-
Determine the GCC version (like `12.1.0`) and update the `scripts/VERSION`
98-
file; the format is `12.2.0-2`. The fourth digit is the number of the
97+
Determine the GCC version (like `12.2.0`) and update the `scripts/VERSION`
98+
file; the format is `12.2.0-3`. The fourth digit is the number of the
9999
the xPack GNU RISC-V Embedded GCC release number of this version.
100100

101101
### Update versions in `README` files
@@ -109,7 +109,7 @@ Check GitHub issues and pull requests:
109109

110110
- <https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/issues/>
111111

112-
and fix them; assign them to a milestone (like `12.2.0-2`).
112+
and fix them; assign them to a milestone (like `12.2.0-3`).
113113

114114
### Check `README.md`
115115

@@ -121,8 +121,8 @@ but in the version specific release page.
121121

122122
- open the `CHANGELOG.md` file
123123
- check if all previous fixed issues are in
124-
- add a new entry like _* v12.2.0-2 prepared_
125-
- commit with a message like _prepare v12.2.0-2_
124+
- add a new entry like _* v12.2.0-3 prepared_
125+
- commit with a message like _prepare v12.2.0-3_
126126

127127
### Update the version specific code
128128

@@ -234,8 +234,8 @@ archive and its SHA signature, created in the `deploy` folder:
234234
```console
235235
$ ls -l ~/Work/riscv-none-elf-gcc-xpack.git/build/darwin-x64/deploy
236236
total 197288
237-
-rw-r--r-- 1 ilg staff 93798413 Feb 1 12:52 xpack-riscv-none-elf-gcc-12.2.0-2-darwin-x64.tar.gz
238-
-rw-r--r-- 1 ilg staff 118 Feb 1 12:52 xpack-riscv-none-elf-gcc-12.2.0-2-darwin-x64.tar.gz.sha
237+
-rw-r--r-- 1 ilg staff 93798413 Feb 1 12:52 xpack-riscv-none-elf-gcc-12.2.0-3-darwin-x64.tar.gz
238+
-rw-r--r-- 1 ilg staff 118 Feb 1 12:52 xpack-riscv-none-elf-gcc-12.2.0-3-darwin-x64.tar.gz.sha
239239
```
240240

241241
#### Apple Silicon macOS
@@ -267,8 +267,8 @@ archive and its SHA signature, created in the `deploy` folder:
267267
```console
268268
$ ls -l ~/Work/riscv-none-elf-gcc-xpack.git/build/darwin-arm64/deploy
269269
total 196792
270-
-rw-r--r-- 1 ilg staff 90622384 Feb 1 12:11 xpack-riscv-none-elf-gcc-12.2.0-2-darwin-arm64.tar.gz
271-
-rw-r--r-- 1 ilg staff 120 Feb 1 12:11 xpack-riscv-none-elf-gcc-12.2.0-2-darwin-arm64.tar.gz.sha
270+
-rw-r--r-- 1 ilg staff 90622384 Feb 1 12:11 xpack-riscv-none-elf-gcc-12.2.0-3-darwin-arm64.tar.gz
271+
-rw-r--r-- 1 ilg staff 120 Feb 1 12:11 xpack-riscv-none-elf-gcc-12.2.0-3-darwin-arm64.tar.gz.sha
272272
```
273273

274274
#### Intel GNU/Linux
@@ -302,8 +302,8 @@ archive and its SHA signature, created in the `deploy` folder:
302302
```console
303303
$ ls -l ~/Work/riscv-none-elf-gcc-xpack.git/build/linux-x64/deploy
304304
total 102308
305-
-rw-r--r-- 1 ilg ilg 104756842 Feb 1 10:19 xpack-riscv-none-elf-gcc-12.2.0-2-linux-x64.tar.gz
306-
-rw-r--r-- 1 ilg ilg 117 Feb 1 10:19 xpack-riscv-none-elf-gcc-12.2.0-2-linux-x64.tar.gz.sha
305+
-rw-r--r-- 1 ilg ilg 104756842 Feb 1 10:19 xpack-riscv-none-elf-gcc-12.2.0-3-linux-x64.tar.gz
306+
-rw-r--r-- 1 ilg ilg 117 Feb 1 10:19 xpack-riscv-none-elf-gcc-12.2.0-3-linux-x64.tar.gz.sha
307307
```
308308

309309
##### Build the Windows binaries
@@ -328,8 +328,8 @@ archive and its SHA signature, created in the `deploy` folder:
328328
```console
329329
$ ls -l ~/Work/riscv-none-elf-gcc-xpack.git/build/win32-x64/deploy
330330
total 109320
331-
-rw-r--r-- 1 ilg ilg 111937715 Feb 1 10:48 xpack-riscv-none-elf-gcc-12.2.0-2-win32-x64.zip
332-
-rw-r--r-- 1 ilg ilg 114 Feb 1 10:48 xpack-riscv-none-elf-gcc-12.2.0-2-win32-x64.zip.sha
331+
-rw-r--r-- 1 ilg ilg 111937715 Feb 1 10:48 xpack-riscv-none-elf-gcc-12.2.0-3-win32-x64.zip
332+
-rw-r--r-- 1 ilg ilg 114 Feb 1 10:48 xpack-riscv-none-elf-gcc-12.2.0-3-win32-x64.zip.sha
333333
```
334334

335335
#### Arm GNU/Linux 64-bit
@@ -361,8 +361,8 @@ archive and its SHA signature, created in the `deploy` folder:
361361
```console
362362
$ ls -l ~/Work/riscv-none-elf-gcc-xpack.git/build/linux-arm64/deploy
363363
total 98020
364-
-rw-r--r-- 1 ilg ilg 100361089 Feb 1 13:16 xpack-riscv-none-elf-gcc-12.2.0-2-linux-arm64.tar.gz
365-
-rw-r--r-- 1 ilg ilg 119 Feb 1 13:16 xpack-riscv-none-elf-gcc-12.2.0-2-linux-arm64.tar.gz.sha
364+
-rw-r--r-- 1 ilg ilg 100361089 Feb 1 13:16 xpack-riscv-none-elf-gcc-12.2.0-3-linux-arm64.tar.gz
365+
-rw-r--r-- 1 ilg ilg 119 Feb 1 13:16 xpack-riscv-none-elf-gcc-12.2.0-3-linux-arm64.tar.gz.sha
366366
```
367367

368368
#### Arm GNU/Linux 32-bit
@@ -393,8 +393,8 @@ archive and its SHA signature, created in the `deploy` folder:
393393
```console
394394
$ ls -l ~/Work/riscv-none-elf-gcc-xpack.git/build/linux-arm/deploy
395395
total 92456
396-
-rw-r--r-- 1 ilg ilg 94666972 Feb 1 13:04 xpack-riscv-none-elf-gcc-12.2.0-2-linux-arm.tar.gz
397-
-rw-r--r-- 1 ilg ilg 117 Feb 1 13:04 xpack-riscv-none-elf-gcc-12.2.0-2-linux-arm.tar.gz.sha
396+
-rw-r--r-- 1 ilg ilg 94666972 Feb 1 13:04 xpack-riscv-none-elf-gcc-12.2.0-3-linux-arm.tar.gz
397+
-rw-r--r-- 1 ilg ilg 117 Feb 1 13:04 xpack-riscv-none-elf-gcc-12.2.0-3-linux-arm.tar.gz.sha
398398
```
399399

400400
### Files cache
@@ -647,7 +647,7 @@ git clone \
647647

648648
## Create a new GitHub pre-release draft
649649

650-
- in `CHANGELOG.md`, add the release date and a message like _* v12.2.0-2 released_
650+
- in `CHANGELOG.md`, add the release date and a message like _* v12.2.0-3 released_
651651
- commit with _CHANGELOG update_
652652
- check and possibly update the `templates/body-github-release-liquid.md`
653653
- push the `xpack-develop` branch
@@ -658,8 +658,8 @@ The workflows results and logs are available from the
658658

659659
The result is a
660660
[draft pre-release](https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/)
661-
tagged like **v12.2.0-2** (mind the dash in the middle!) and
662-
named like **xPack GNU RISC-V Embedded GCC v12.2.0-2** (mind the dash),
661+
tagged like **v12.2.0-3** (mind the dash in the middle!) and
662+
named like **xPack GNU RISC-V Embedded GCC v12.2.0-3** (mind the dash),
663663
with all binaries attached.
664664

665665
- edit the draft and attach it to the `xpack-develop` branch (important!)
@@ -682,7 +682,7 @@ If any, refer to closed
682682
## Update the preview Web
683683

684684
- commit the `develop` branch of `xpack/web-jekyll` GitHub repo;
685-
use a message like _xPack GNU RISC-V Embedded GCC v12.2.0-2 released_
685+
use a message like _xPack GNU RISC-V Embedded GCC v12.2.0-3 released_
686686
- push to GitHub
687687
- wait for the GitHub Pages build to complete
688688
- the preview web is <https://xpack.github.io/web-preview/news/>
@@ -724,18 +724,18 @@ watching this project.
724724
- compare the SHA sums with those shown by `cat *.sha`
725725
- check the executable names
726726
- commit all changes, use a message like
727-
_package.json: update urls for 12.2.0-2 release_ (without _v_)
727+
_package.json: update urls for 12.2.0-3 release_ (without _v_)
728728

729729
## Publish on the npmjs.com server
730730

731731
- select the `xpack-develop` branch
732732
- check the latest commits `npm run git-log`
733-
- update `CHANGELOG.md`, add a line like _* v12.2.0-2.1 published on npmjs.com_
734-
- commit with a message like _CHANGELOG: publish npm v12.2.0-2.1_
733+
- update `CHANGELOG.md`, add a line like _* v12.2.0-3.1 published on npmjs.com_
734+
- commit with a message like _CHANGELOG: publish npm v12.2.0-3.1_
735735
- `npm pack` and check the content of the archive, which should list
736736
only the `package.json`, the `README.md`, `LICENSE` and `CHANGELOG.md`;
737737
possibly adjust `.npmignore`
738-
- `npm version 12.2.0-2.1`; the first 4 numbers are the same as the
738+
- `npm version 12.2.0-3.1`; the first 4 numbers are the same as the
739739
GitHub release; the fifth number is the npm specific version
740740
- the commits and the tag should have been pushed by the `postversion` script;
741741
if not, push them with `git push origin --tags`
@@ -764,12 +764,12 @@ The tests results are available from the
764764
When the release is considered stable, promote it as `latest`:
765765

766766
- `npm dist-tag ls @xpack-dev-tools/riscv-none-elf-gcc`
767-
- `npm dist-tag add @xpack-dev-tools/[email protected]2.1 latest`
767+
- `npm dist-tag add @xpack-dev-tools/[email protected]3.1 latest`
768768
- `npm dist-tag ls @xpack-dev-tools/riscv-none-elf-gcc`
769769

770770
In case the previous version is not functional and needs to be unpublished:
771771

772-
- `npm unpublish @xpack-dev-tools/[email protected]2.1`
772+
- `npm unpublish @xpack-dev-tools/[email protected]3.1`
773773

774774
## Update the Web
775775

@@ -791,7 +791,7 @@ In case the previous version is not functional and needs to be unpublished:
791791

792792
- in a separate browser windows, open [TweetDeck](https://tweetdeck.twitter.com/)
793793
- using the `@xpack_project` account
794-
- paste the release name like **xPack GNU RISC-V Embedded GCC v12.2.0-2 released**
794+
- paste the release name like **xPack GNU RISC-V Embedded GCC v12.2.0-3 released**
795795
- paste the link to the Web page
796796
[release](https://xpack.github.io/riscv-none-elf-gcc/releases/)
797797
- click the **Tweet** button
@@ -815,9 +815,9 @@ Add a new topic in the **Announcements** category of the
815815
[RISC-V forums]<https://groups.google.com/a/groups.riscv.org/g/sw-dev>).
816816

817817
```console
818-
Subject: xPack GNU RISC-V Embedded GCC v12.2.0-2 released
818+
Subject: xPack GNU RISC-V Embedded GCC v12.2.0-3 released
819819

820-
Version 12.2.0-2 is a new release of the xPack GNU RISC-V Embedded GCC; it follows the GNU GCC release.
820+
Version 12.2.0-3 is a new release of the xPack GNU RISC-V Embedded GCC; it follows the GNU GCC release.
821821

822822
https://xpack.github.io/blog/2022/05/14/riscv-none-elf-gcc-v11-3-0-1-released/
823823
```

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ After install, the package should create a structure like this (only the
103103
first two depth levels are shown):
104104

105105
```console
106-
$ tree -L 2 /Users/ilg/Library/xPacks/\@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-2/.content/
107-
/Users/ilg/Library/xPacks/\@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-2/.content/
106+
$ tree -L 2 /Users/ilg/Library/xPacks/\@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3/.content/
107+
/Users/ilg/Library/xPacks/\@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3/.content/
108108
├── README.md
109109
├── bin
110110
│   ├── riscv-none-elf-addr2line
@@ -222,16 +222,16 @@ For more details please read the
222222
### Versioning
223223

224224
The version strings used by the GCC project are three number strings
225-
like `12.1.0`; to this string the xPack distribution adds a four number,
225+
like `12.2.0`; to this string the xPack distribution adds a four number,
226226
but since semver allows only three numbers, all additional ones can
227227
be added only as pre-release strings, separated by a dash,
228-
like `12.2.0-2`.
228+
like `12.2.0-3`.
229229
When published as a npm package, the version gets
230-
a fifth number, like `12.2.0-2.1`.
230+
a fifth number, like `12.2.0-3.1`.
231231

232232
Since adherence of third party packages to semver is not guaranteed,
233-
it is recommended to use semver expressions like `^12.1.0` and `~12.1.0`
234-
with caution, and prefer exact matches, like `12.2.0-2.1`.
233+
it is recommended to use semver expressions like `^12.2.0` and `~12.2.0`
234+
with caution, and prefer exact matches, like `12.2.0-3.1`.
235235

236236
## Maintainer info
237237

scripts/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.2.0-2
1+
12.2.0-3

0 commit comments

Comments
 (0)