mirror of https://github.com/f4exb/sdrangel.git
Try to fix version number
This commit is contained in:
parent
56aba40d07
commit
ad7c08d05c
|
@ -104,11 +104,13 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
# Need with clause so git describe --tags works?
|
# Need with clause so git describe --tags works
|
||||||
- name: Get version
|
- name: Get version
|
||||||
id: get_version
|
id: get_version
|
||||||
run: echo "version=$(git describe --tags | cut -c2-)" >> $GITHUB_OUTPUT
|
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
|
- name: Get version 3
|
||||||
id: get_version3
|
id: get_version3
|
||||||
run: echo "version=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
|
run: echo "version=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
|
||||||
|
|
Loading…
Reference in New Issue