Skip to content

Commit

Permalink
fix commit
Browse files Browse the repository at this point in the history
  • Loading branch information
RawZ06 committed May 29, 2024
1 parent 3c73a80 commit 48bf47f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,17 @@ jobs:
- run: pnpm install
- run: pnpm build ngx-monaco-tree
- name: Increment version and publish
# if: github.ref == 'refs/heads/master'
run: |
cd projects/ngx-monaco-tree
git config user.email "[email protected]"
git config user.name "$GITHUB_ACTOR"
npm version minor -m "v%s"
VERSION=$(node -p "require('./package.json').version")
git tag ${VERSION}
git add package.json
git commit -m "Bump version to ${VERSION}"
# git tag ${VERSION}
git push "https://$GITHUB_ACTOR:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY.git"
git push "https://$GITHUB_ACTOR:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY.git" --follow-tags
git push "https://$GITHUB_ACTOR:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY.git" --tags
# npm publish --access public
Expand Down

0 comments on commit 48bf47f

Please sign in to comment.