Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.

Commit 7333860

Browse files
committed
README-PUBLISH.md:
1 parent f65eb3b commit 7333860

File tree

1 file changed

+21
-10
lines changed

1 file changed

+21
-10
lines changed

README-PUBLISH.md

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The `VERSION` file should refer to the actual release.
3636

3737
In this Git repo:
3838

39-
- if necessary, merge the `xpack-develop` branch into `xpack`.
39+
- if necessary, merge the `develop` branch into `xpack`
4040
- push it to GitHub.
4141
- possibly push the helper project too.
4242

@@ -51,25 +51,27 @@ page.
5151
Install the binaries on all supported platforms and check if they are
5252
functional.
5353

54-
For this, on each platform:
54+
For this, on each platform (Mac, GNU/Linux 64/32, Windows 64/32):
5555

56-
- unpack the archive in `Downloads`, and rename the version folder,
57-
by replacing a dash with a space; this will test paths with spaces;
56+
- unpack the archive in `Desktop` or in `Downloads`, and rename the version
57+
folder, by replacing a dash with a space; this will test paths with spaces;
5858
on Windows the current paths always use spaces, so renaming is not needed;
5959
- clone this repo locally; on Windows use the Git console;
60-
```
60+
```console
6161
$ git clone --recurse-submodules https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack.git \
6262
~/Downloads/riscv-none-embed-gcc-xpack.git
6363
```
64-
- in a separate workspace, Import -> General -> Existing Projects into Workspace
64+
- in a separate workspace, Import General Existing Projects into Workspace
6565
the Eclipse projects available in the
6666
`tests/eclipse` folder of the build repo; more details in the
6767
[README.md](https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack/blob/xpack/tests/eclipse/README.md)
6868
- define the **Workspace RISC-V Toolchain path** to use the `Downloads`
6969
temporary location
7070
- to test the compiler: for all projects
71-
- remove all build folders
72-
- build all configs
71+
- remove all build folders, or **Clean all**
72+
- build all configs, with the hammer, in `riscv-h1b-fs`
73+
- build all configs, with the hammer, in `riscv-h1b-fs-lib`; this should
74+
also run the builds in `riscv-static-lib`
7375
- to test the debugger: for all OpenOCD debug configurations
7476
- start the OpenOCD debug session,
7577
- single step a few lines (Step Over)
@@ -78,13 +80,16 @@ $ git clone --recurse-submodules https://github.com/xpack-dev-tools/riscv-none-e
7880
- start (Resume)
7981
- stop (Terminate)
8082
- (don't miss the LTO cases, since in the past they had problems)
81-
- to test the Python debugger, start it with `--version`; on Windows, to test with different versions, set the path with:
83+
- to test the Python debugger, start it with `--version`; on Windows, to
84+
test with different versions, set the path with:
8285
```
8386
C:\Users\ilg>set PYTHONHOME=C:\Python27.16
8487
```
8588

8689
## Create a new GitHub pre-release
8790

91+
- in `CHANGELOG.md`, add release date
92+
- commit and push the repo
8893
- go to the [GitHub Releases](https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack/releases) page
8994
- click **Draft a new release**
9095
- name the tag like **v8.2.0-2.2** (mind the dash in the middle!)
@@ -140,6 +145,13 @@ xpack-riscv-none-embed-gcc-8.2.0-3.1-win32-x32.zip
140145
xpack-riscv-none-embed-gcc-8.2.0-3.1-win32-x64.zip
141146
```
142147

148+
If you missed this, `cat` the content of the `.sha` files:
149+
150+
```console
151+
$ cd ~Downloads/xpack-binaries/riscv
152+
$ cat *.sha
153+
```
154+
143155
## Update the Web
144156

145157
- commit the `xpack.github.io` web Git; use a message
@@ -163,7 +175,6 @@ xpack-riscv-none-embed-gcc-8.2.0-3.1-win32-x64.zip
163175
- push all changes to GitHub
164176
- `npm publish` (use `--access public` when publishing for the first time)
165177

166-
167178
## Test npm binaries
168179

169180
Install the binaries on all platforms.

0 commit comments

Comments
 (0)