Skip to content

Commit 8e2c67d

Browse files
committed
docs: document publishing process
Because I forget.
1 parent 1235cab commit 8e2c67d

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,17 @@ test case changes.
3333

3434
The method is to compare changes in the `js-beautify` repository between the last synced commit and HEAD and then applying the
3535
changes to this repository. Note that the `tests.js` data files can simply be copied across.
36+
37+
## Publishing
38+
39+
As a reminder to those who can publish new releases of this artifact:
40+
41+
* Update the version number manually
42+
* Commit the version number change
43+
* Deploy to the central repository:
44+
45+
```shell
46+
mvn deploy
47+
```
48+
* The deployment should finish with a "Deployment <UUID> has been validated. To finish publishing visit https://central.sonatype.com/publishing/deployments". You can visit this URL and sign in to observe the process, but it will complete normally by itself.
49+
* Tag the published commit with the version number, e.g. `v1.0.1`

0 commit comments

Comments
 (0)