ci: Check for correct tag
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
parent
18681cffee
commit
7007d1a89f
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ tasks:
|
||||||
- test: |
|
- test: |
|
||||||
just test
|
just test
|
||||||
- build: |
|
- build: |
|
||||||
tag=$(git describe --exact-match 2>/dev/null || true)
|
tag=$(git describe --exact-match --tags HEAD 2>/dev/null || true)
|
||||||
if [ -z "$tag" ]; then
|
if [ -z "$tag" ]; then
|
||||||
echo "Current commit is not a tag; not building anything"
|
echo "Current commit is not a tag; not building anything"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue