Skip to content

Commit

Permalink
chore: fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
ImLunaHey committed Sep 21, 2023
1 parent 7eae969 commit 47bfb22
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,28 @@ jobs:
- name: Bump package version
run: npx standard-version --prerelease nightly

- name: Get current tag
id: current_tag
run: |
echo "current_tag=$(git describe --tags --abbrev=0)"
- name: Push changes
run: git push --follow-tags origin main

- name: Create package for Github release
run: npm pack

- name: Create Github release
uses: ncipollo/[email protected]
with:
prerelease: true
allowUpdates: true
draft: false
makeLatest: true
name: ${{ github.ref_name }}
name: ${{ steps.current_tag.outputs.current_tag }}
body: ${{ steps.changelog.outputs.changes }}
token: ${{ github.token }}
artifacts: '*.tgz'

- name: Publish to NPM
run: npm run publish
Expand Down

0 comments on commit 47bfb22

Please sign in to comment.