chore: support tag in release (#382)
parent
c92dd16594
commit
8248a7fd54
|
|
@ -106,14 +106,15 @@ jobs:
|
||||||
- name: Download all artifacts
|
- name: Download all artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
|
|
||||||
- name: Display structure of downloaded files
|
- name: Generate tag name
|
||||||
run: ls -R
|
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
|
- uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
prerelease: true
|
|
||||||
name: "Development Build"
|
|
||||||
artifacts: "tabby_*/tabby_*"
|
artifacts: "tabby_*/tabby_*"
|
||||||
tag: latest
|
tag: ${{ env.TAG_NAME }}
|
||||||
removeArtifacts: true
|
removeArtifacts: true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue