From a1f4ab1db2dca2bc4b2f5f81a874d744467d3c22 Mon Sep 17 00:00:00 2001 From: Max Kasperowski Date: Mon, 8 Jan 2024 11:14:34 +0100 Subject: [PATCH] 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 --- .github/workflows/ci.yml | 2 +- README.md | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 85921ec..a6d756f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: fail-fast: false matrix: node-version: [ 14.x, 16.x, 18.x ] - java-version: [ 8, 11, 13, 15, 17 ] + java-version: [ 11, 13, 15, 17 ] steps: - uses: actions/checkout@v1 diff --git a/README.md b/README.md index 03af287..b472023 100644 --- a/README.md +++ b/README.md @@ -335,15 +335,23 @@ Afterwards you can find the created files in the `lib` folder. Current procedure ```bash git checkout -b releases/0.x.x -# Update versions and commit the changes +# Check that the version numbers are correct, if necessary update versions and commit the changes npm install npm run build npm run test # Add ./lib/ directory and commit git tag 0.x.x -# Push release branch an tags to remote -npm publish +# Push release branch and tags to remote +# Create a new release on Github for the new tag and afterwards publish to npm +npm publish --tag=latest ``` +Afterwards the following version numbers have to be changed to the next release number: +* `version` in `package.json`, +* `melk` in `build.gradle`. + +## Incorrect npm tags +Incorrectly tagged versions on npm can be updated with +`npm dist-tag add elkjs@ `. # Links In the following a list of asorted links to other projects and sites that may prove helpful: