diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e87f767..69a3417 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -44,6 +44,20 @@ jobs: generate_release_notes: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Git + run: | + git config --global user.name "GitHub Actions" + git config --global user.email "actions@github.com" + + - name: Create a tag + run: | + TAG_NAME="prerelease" + git tag $TAG_NAME + git push -f origin $TAG_NAME # release: # if: success()