From caeb869a70fe6c95055c256616d031c45e10414d Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Thu, 26 Oct 2023 12:06:45 -0700 Subject: [PATCH] Disable git commit temporarily --- .github/workflows/publish-package.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index def95094..029feef4 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -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: | @@ -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 'va-mobileapp@adhocteam.us' - 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 'va-mobileapp@adhocteam.us' + # 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/slack-github-action@v1.24.0