Skip to content

Commit

Permalink
ci: 🎡 tweak the workflow for package release
Browse files Browse the repository at this point in the history
  • Loading branch information
brklntmhwk committed Oct 30, 2024
1 parent bb070dc commit 4cfd72d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
run: |
{
echo 'NEW_VERSION<<EOF'
npm --no-git-tag-version --preid=beta version $RELEASE_TYPE
npm --no-git-tag-version --preid=beta version ${{ env.RELEASE_TYPE }}
echo EOF
} >> "$GITHUB_ENV"
echo "RELEASE_TAG=beta" >> $GITHUB_ENV
Expand All @@ -72,10 +72,12 @@ jobs:
run: |
{
echo 'NEW_VERSION<<EOF'
npm --no-git-tag-version version $RELEASE_TYPE
npm --no-git-tag-version version ${{ env.RELEASE_TYPE }}
echo EOF
} >> "$GITHUB_ENV"
echo "RELEASE_TAG=latest" >> $GITHUB_ENV
env:
RELEASE_TYPE: ${{ github.event.inputs.release-type }}

- name: Changelog Update
uses: superfaceai/release-changelog-action@v3
Expand Down

0 comments on commit 4cfd72d

Please sign in to comment.