diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 4667989..b8ebdf1 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -18,7 +18,7 @@ concurrency: cancel-in-progress: true jobs: - bump_version: + prepare_release: runs-on: ubuntu-latest outputs: @@ -49,19 +49,10 @@ jobs: tag: ${{ env.IMMICH_VERSION }} push: true - prepare_release: - runs-on: ubuntu-latest - needs: bump_version - - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - token: ${{ secrets.ORG_RELEASE_TOKEN }} - - name: Create draft release uses: softprops/action-gh-release@v2 with: draft: true tag_name: ${{ env.IMMICH_VERSION }} + token: ${{ steps.generate-token.outputs.token }} generate_release_notes: true diff --git a/misc/release/pump-version.sh b/misc/release/pump-version.sh index 46ee6fe..e63a022 100755 --- a/misc/release/pump-version.sh +++ b/misc/release/pump-version.sh @@ -17,7 +17,7 @@ fi VERSION_BEFORE=v$(jq -r '.version' package.json) -npm version $TYPE +npm version $TYPE --no-git-tag-version VERSION_AFTER=v$(jq -r '.version' package.json)