Skip to content

Commit

Permalink
chore fix jsr release
Browse files Browse the repository at this point in the history
  • Loading branch information
rrd108 committed Sep 29, 2024
1 parent 758af05 commit eec64e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/jsr-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: npm install
- run: npx jsr publish --allow-dirty
- run: npx jsr publish
3 changes: 2 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,11 @@ if [ $PREV_STEP -eq 1 ];then

echo "👉 jsr.json updated with the new version: $new_version"
# Commit the changes to Git
git add jsr.json
git add jsr.json package.json
git commit -m "Bump version to $new_version"

echo "👉 Pushing new version to git: $new_version"
git push origin master
git push vue-mess-detector "v$new_version"

echo "👉 Creating a new release on GitHub"
Expand Down

0 comments on commit eec64e3

Please sign in to comment.