mirror of
https://git.sr.ht/~nabijaczleweli/tzpfms
synced 2025-04-23 09:50:28 +03:00
Don't error on no tags
I jumped the gun a bit :v
This commit is contained in:
parent
ec666beb85
commit
5e9c7e5989
@ -38,7 +38,7 @@ tasks:
|
||||
ssh-keyscan git.sr.ht > ~/.ssh/known_hosts
|
||||
git push
|
||||
- release: |
|
||||
tag="$(git -C tzpfms describe --abbrev=0 --tags)"
|
||||
tag="$(git -C tzpfms describe --abbrev=0 --tags || echo HEAD~1)"
|
||||
[ "$(git -C tzpfms rev-list -n1 "$tag")" = "$(git -C tzpfms rev-list -n1 HEAD)" ] || exit 0
|
||||
mkdir "tzpfms-$tag-bin-amd64"
|
||||
mv tzpfms/out/zfs-tpm* "tzpfms-$tag-bin-amd64"
|
||||
|
Loading…
x
Reference in New Issue
Block a user