Skip to content

Commit

Permalink
publish before release
Browse files Browse the repository at this point in the history
  • Loading branch information
dawkaka committed Jul 15, 2024
1 parent 25fcbdf commit f9e16ce
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ jobs:
else
echo "RELEASE_TAG=latest" >> $GITHUB_ENV
fi
# Publish version to npmdd
- name: Publish
run: yarn publish --verbose --access public --tag ${{ env.RELEASE_TAG }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

# Update changelog unreleased section with new version
- name: Update changelog
Expand Down Expand Up @@ -92,12 +97,6 @@ jobs:
run: |
git push origin temp-branch:master
# Publish version to npmdd
- name: Publish
run: yarn publish --verbose --access public --tag ${{ env.RELEASE_TAG }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

# Read version changelog
- id: get-changelog
name: Get version changelog
Expand Down

0 comments on commit f9e16ce

Please sign in to comment.