From af89f278799cde562d96744ab4cfd288c3314fc4 Mon Sep 17 00:00:00 2001 From: marcopiraccini Date: Wed, 13 Dec 2023 15:08:53 +0100 Subject: [PATCH] test release gh action --- .github/workflows/release-draft.yml | 3 +++ README.md | 17 ----------------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/release-draft.yml b/.github/workflows/release-draft.yml index 488a93e5..4b8dd05c 100644 --- a/.github/workflows/release-draft.yml +++ b/.github/workflows/release-draft.yml @@ -26,6 +26,7 @@ jobs: - uses: actions/checkout@v4.1.1 with: ref: ${{ inputs.tag_name }} + fetch-depth: 0 # https://github.com/actions/checkout/issues/1471 - uses: actions/setup-node@v4 with: node-version: 18 @@ -87,6 +88,7 @@ jobs: - uses: actions/checkout@v4.1.1 with: ref: ${{ inputs.tag_name }} + fetch-depth: 0 # https://github.com/actions/checkout/issues/1471 - run: npm ci - run: npm run build:win - run: npm run release:win @@ -105,6 +107,7 @@ jobs: - uses: actions/checkout@v4.1.1 with: ref: ${{ inputs.tag_name }} + fetch-depth: 0 # https://github.com/actions/checkout/issues/1471 - uses: actions/setup-node@v4 with: node-version: 18 diff --git a/README.md b/README.md index cc965631..c763ec02 100644 --- a/README.md +++ b/README.md @@ -49,20 +49,3 @@ $ npm run build:mac $ npm run build:linux ``` -### Prepare a release tag - -Releases are created from tags, so you need to create a tag before you can create a release, e.g. if the current development version is `0.1.0`: - -```bash -git pull # Make sure you have the latest changes -git tag -a v0.1.0 -m "Release 0.1.0" -git push origin v0.1.0 -``` - -Then you have to do a version bump: -```bash -npm version --no-git-tag-version minor # or major, patch, etc. -git add package.json -git commit -m "version bump" -git push -```