Skip to content

Commit

Permalink
Disable git commit temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
narin committed Oct 26, 2023
1 parent a3e37e2 commit caeb869
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
with:
registry-url: https://registry.npmjs.org/
node-version-file: '.nvmrc'
- run: yarn install
- name: Bump version and publish to NPM
id: bump-version
run: |
Expand Down Expand Up @@ -72,17 +73,17 @@ jobs:
echo "NEW_VERSION=$NEW_VERSION" >> "$GITHUB_OUTPUT"
echo "GIT_TAG=${{ inputs.package }}-v$NEW_VERSION" >> "$GITHUB_OUTPUT"
- name: Commit package.json changes and tag
run: |
git config --global user.name 'VA Automation Bot'
git config --global user.email '[email protected]'
git add package.json
git commit -m '[TEST] Version bump: ${{ steps.bump-version.outputs.GIT_TAG }}'
git push
TAG=${{ steps.bump-version.outputs.GIT_TAG }}
echo $TAG
git tag -a $TAG -m $TAG
git push origin $TAG
# - name: Commit package.json changes and tag
# run: |
# git config --global user.name 'VA Automation Bot'
# git config --global user.email '[email protected]'
# git add package.json
# git commit -m '[TEST] Version bump: ${{ steps.bump-version.outputs.GIT_TAG }}'
# git push
# TAG=${{ steps.bump-version.outputs.GIT_TAG }}
# echo $TAG
# git tag -a $TAG -m $TAG
# git push origin $TAG
- name: Post to a Slack channel
id: slack
uses: slackapi/[email protected]
Expand Down

0 comments on commit caeb869

Please sign in to comment.