-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|