chore: change latest tag to

release-0.0
Meng Zhang 2023-08-30 23:56:27 +08:00
parent 8248a7fd54
commit 4c7cd84df1
2 changed files with 3 additions and 2 deletions

View File

@ -110,11 +110,12 @@ jobs:
env:
REF_NAME: ${{ github.ref_name }}
run: |
echo "TAG_NAME=$(echo $REF_NAME | sed 's/main/latest/g' | sed 's/^v//g')" >>${GITHUB_ENV}
echo "TAG_NAME=$(echo $REF_NAME | sed 's/main/nightly/g' | sed 's/^v//g')" >>${GITHUB_ENV}
- uses: ncipollo/release-action@v1
with:
allowUpdates: true
prerelease: true
artifacts: "tabby_*/tabby_*"
tag: ${{ env.TAG_NAME }}
removeArtifacts: true

View File

@ -54,7 +54,7 @@ jobs:
env:
REF_NAME: ${{ github.ref_name }}
run: |
echo "TAG_NAME=$(echo $REF_NAME | sed 's/main/latest/g' | sed 's/^v//g')" >>${GITHUB_ENV}
echo "TAG_NAME=$(echo $REF_NAME | sed 's/main/nightly/g' | sed 's/^v//g')" >>${GITHUB_ENV}
- uses: int128/docker-build-cache-config-action@v1
id: cache