Fix github push command
This commit is contained in:
parent
311c96828f
commit
8ca6d8b412
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user