File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,12 @@ jobs:
35
35
run : |
36
36
export VERSION=$(cat .github/workflows/version.txt)
37
37
echo "VERSION=$VERSION" >> $GITHUB_ENV
38
- git push origin ":v${VERSION}"
38
+ git push origin ":v${VERSION}" || true
39
39
40
40
- name : Create a new signed tag
41
41
uses : ./git-sign
42
42
with :
43
- command : git tag -m "Update tag" -s --local-user=${{ env.GPG_KEY_ID }} v${{ env.VERSION }}"
43
+ command : git tag -a \"${{ env.VERSION }}\" -m \ "Update tag\ " -s --local-user=${{ env.GPG_KEY_ID }}
44
44
45
45
- name : Push the tag
46
46
run :
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ Use this action to create signed git artifacts:
55
55
- name: Create signed tag
56
56
uses: mongodb-labs/drivers-github-tools/git-sign@v2
57
57
with:
58
- command: "git tag -m 'Tag' -s --local-user=${{ env.GPG_KEY_ID }} <tag>"
58
+ command: "git tag -m 'Tag' -s --local-user=${{ env.GPG_KEY_ID }} -a <tag>"
59
59
` ` `
60
60
61
61
# ## gpg-sign
You can’t perform that action at this time.
0 commit comments