diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bf6e371..c041946 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -58,9 +58,8 @@ jobs: git config user.name 'github-actions[bot]' git config user.email 'github-actions[bot]@users.noreply.github.com' git checkout -B $BRANCH - git pull $BRANCH git add dist/* - git commit -m "Add compiled js file." + git commit -m "Add compiled js file [triggered by ${{ steps.release_tag.outputs.SHA }}]." git push origin $BRANCH git tag -a -m ${{ steps.release_tag.outputs.TAG }} ${{ steps.release_tag.outputs.TAG }} git push --follow-tags @@ -72,7 +71,7 @@ jobs: # run: | # REPO=$(echo "$GITHUB_CONTEXT" | jq -r '.repository') # TAG=${{ steps.release_tag.outputs.TAG }} -# SHA=${{ steps.release_tag.outputs.SHA }} +# SHA= # # # git tag -a ${{ steps.release_tag.outputs.TAG }} # # git push --follow-tags