1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 09:18:54 -05:00

Try to fix version number

This commit is contained in:
Jon Beniston 2023-09-24 10:26:41 +01:00
parent 56aba40d07
commit ad7c08d05c

View File

@ -104,11 +104,13 @@ jobs:
with:
submodules: true
fetch-depth: 0
# Need with clause so git describe --tags works?
# Need with clause so git describe --tags works
- name: Get version
id: get_version
run: echo "version=$(git describe --tags | cut -c2-)" >> $GITHUB_OUTPUT
# Requires git fetch --tags upstream to have been run!
# Requires git fetch --tags upstream to have been run on the branch!
# git remote add upstream https://github.com/f4exb/sdrangel.git
# git fetch --tags upstream
- name: Get version 3
id: get_version3
run: echo "version=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT