mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-29 18:53:10 +00:00
fix(ci): Add version and tagged release variables to release workflow (#1391)
This commit is contained in:
parent
1c970e9ff6
commit
52d27485cd
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -170,6 +170,16 @@ jobs:
|
||||
needs: build
|
||||
if: success() || failure()
|
||||
steps:
|
||||
- name: Set version variable
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ "${{ github.ref_type }}" == "tag" ]]; then
|
||||
echo "VERSION=${{ github.ref_name }}" >> $GITHUB_ENV
|
||||
echo "TAGGED_RELEASE=true" >> $GITHUB_ENV
|
||||
else
|
||||
echo "VERSION=${GITHUB_SHA::7}" >> $GITHUB_ENV
|
||||
echo "TAGGED_RELEASE=false" >> $GITHUB_ENV
|
||||
fi
|
||||
- name: Release - Download binaries
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user