Skip to content

Commit 9d2a696

Browse files
authored
tag main prerelease (#22)
1 parent 679e2af commit 9d2a696

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/cd.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,20 @@ jobs:
4444
generate_release_notes: true
4545
env:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
48+
- name: Checkout code
49+
uses: actions/checkout@v2
50+
51+
- name: Set up Git
52+
run: |
53+
git config --global user.name "GitHub Actions"
54+
git config --global user.email "actions@github.com"
55+
56+
- name: Create a tag
57+
run: |
58+
TAG_NAME="prerelease"
59+
git tag $TAG_NAME
60+
git push -f origin $TAG_NAME
4761
4862
# release:
4963
# if: success()

0 commit comments

Comments
 (0)