Skip to content

Commit

Permalink
fix: prepare release workflow (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasm91 authored Nov 12, 2024
1 parent 04e22a0 commit d43eb65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:
cancel-in-progress: true

jobs:
bump_version:
prepare_release:
runs-on: ubuntu-latest

outputs:
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion misc/release/pump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit d43eb65

Please sign in to comment.