Fix github push command

This commit is contained in:
David Gonzalez Martin 2024-11-05 07:17:57 -06:00
parent 311c96828f
commit 8ca6d8b412

View File

@ -34,12 +34,13 @@ jobs:
env: env:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ github.token }}
run: | run: |
set -eux
git config --global user.name "github-actions" git config --global user.name "github-actions"
git config --global user.email "github-actions@github.com" git config --global user.email "github-actions@github.com"
TAG="dev" TAG="dev"
gh release delete $TAG --yes gh release delete $TAG --yes
git tag -d $TAG git tag -d $TAG
git push origin $TAG git push origin --delete $TAG
git tag $TAG git tag $TAG
git push origin $TAG git push origin $TAG
echo "RELEASE_TAG_NAME=$TAG" >> $GITHUB_OUTPUT echo "RELEASE_TAG_NAME=$TAG" >> $GITHUB_OUTPUT