Skip to content

Commit 4431828

Browse files
committed
ci: create tag before release to work around repo restrictions
1 parent a58f3f1 commit 4431828

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release-libs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,12 @@ jobs:
4848
id: "commit"
4949
run: echo "hash=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT"
5050

51-
- name: "Create hash-tagged release"
51+
- name: "Create tag"
52+
run: |
53+
git tag "${{ steps.commit.outputs.hash }}"
54+
git push origin "${{ steps.commit.outputs.hash }}"
55+
56+
- name: "Create release"
5257
env:
5358
GH_TOKEN: "${{ github.token }}"
5459
run: |

0 commit comments

Comments
 (0)