Skip to content

Commit a1f4ab1

Browse files
authored
Update release guide (#253)
* Update release guide * Update ci.yml (#254) Removes Java 8, since ELK 0.9.0 no longer supports Java 8. * add info to create github release before publishing on npm * update guide * update release guide with info on how to correctly tag npm versions
1 parent 5b6e18a commit a1f4ab1

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
node-version: [ 14.x, 16.x, 18.x ]
25-
java-version: [ 8, 11, 13, 15, 17 ]
25+
java-version: [ 11, 13, 15, 17 ]
2626

2727
steps:
2828
- uses: actions/checkout@v1

README.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -335,15 +335,23 @@ Afterwards you can find the created files in the `lib` folder.
335335
Current procedure
336336
```bash
337337
git checkout -b releases/0.x.x
338-
# Update versions and commit the changes
338+
# Check that the version numbers are correct, if necessary update versions and commit the changes
339339
npm install
340340
npm run build
341341
npm run test
342342
# Add ./lib/ directory and commit
343343
git tag 0.x.x
344-
# Push release branch an tags to remote
345-
npm publish
344+
# Push release branch and tags to remote
345+
# Create a new release on Github for the new tag and afterwards publish to npm
346+
npm publish --tag=latest
346347
```
348+
Afterwards the following version numbers have to be changed to the next release number:
349+
* `version` in `package.json`,
350+
* `melk` in `build.gradle`.
351+
352+
## Incorrect npm tags
353+
Incorrectly tagged versions on npm can be updated with
354+
`npm dist-tag add elkjs@<version> <latest/next>`.
347355

348356
# Links
349357
In the following a list of asorted links to other projects and sites that may prove helpful:

0 commit comments

Comments
 (0)