File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ jobs:
3535 with :
3636 node-version : ${{ env.NODE_VERSION }}
3737
38- - name : Configure Git # Using github.actor - whoever starts the pre-release workflow will own the tag
38+ - name : Configure Git
3939 run : |
40- git config user.name "${{ github.actor }} "
41- git config user.email "${{ github.actor }}@users.noreply. github.com"
40+ git config user.name "GitHub Action "
41+ git config user.email "action@ github.com"
4242
4343 - name : Prepare GitHub Release Notes
4444 run : |
Original file line number Diff line number Diff line change @@ -34,17 +34,17 @@ jobs:
3434 with :
3535 node-version : ${{ env.NODE_VERSION }}
3636
37- - name : Configure Git # Using github.actor - whoever starts the pre-release workflow will own the tag
37+ - name : Configure Git
3838 run : |
39- git config user.name "${{ github.actor }} "
40- git config user.email "${{ github.actor }}@users.noreply. github.com"
39+ git config user.name "GitHub Action "
40+ git config user.email "action@ github.com"
4141
4242 - name : Prepare GitHub Release Notes
4343 run : |
4444 # Delete pre-release tags to be able to generate a changelog from last 'real' release LOCALLY
4545 # This is a workaround for a known limitation of standard-version
4646 # Reference: https://github.com/conventional-changelog/standard-version/issues/203#issuecomment-872415140
47- git tag -l | grep -vE '^v (0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$' | xargs git tag -d
47+ git tag -l | grep -vE '^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$' | xargs git tag -d
4848
4949 # generate release notes into RELEASE_NOTES_FILE
5050 npx standard-version@^9.3.1 -i "${{ env.RELEASE_NOTES_FILE }}" --skip.commit --skip.tag --header ""
5656 run : |
5757 echo "🚀 Creating release package now..."
5858 # this will generate a commit and a tag
59- npx standard-version@^9.3.1
59+ npx standard-version@^9.3.1 --sign
6060
6161 echo "::set-output name=tag-name::$(git describe --tags --abbrev=0)"
6262
You can’t perform that action at this time.
0 commit comments