chore: support tag in release (#382)
parent
c92dd16594
commit
8248a7fd54
|
|
@ -106,14 +106,15 @@ jobs:
|
|||
- name: Download all artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
|
||||
- name: Display structure of downloaded files
|
||||
run: ls -R
|
||||
- name: Generate tag name
|
||||
env:
|
||||
REF_NAME: ${{ github.ref_name }}
|
||||
run: |
|
||||
echo "TAG_NAME=$(echo $REF_NAME | sed 's/main/latest/g' | sed 's/^v//g')" >>${GITHUB_ENV}
|
||||
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
allowUpdates: true
|
||||
prerelease: true
|
||||
name: "Development Build"
|
||||
artifacts: "tabby_*/tabby_*"
|
||||
tag: latest
|
||||
tag: ${{ env.TAG_NAME }}
|
||||
removeArtifacts: true
|
||||
|
|
|
|||
Loading…
Reference in New Issue