mirror of
https://git.sr.ht/~nabijaczleweli/tzpfms
synced 2025-04-29 10:11: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
|
ssh-keyscan git.sr.ht > ~/.ssh/known_hosts
|
||||||
git push
|
git push
|
||||||
- release: |
|
- 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
|
[ "$(git -C tzpfms rev-list -n1 "$tag")" = "$(git -C tzpfms rev-list -n1 HEAD)" ] || exit 0
|
||||||
mkdir "tzpfms-$tag-bin-amd64"
|
mkdir "tzpfms-$tag-bin-amd64"
|
||||||
mv tzpfms/out/zfs-tpm* "tzpfms-$tag-bin-amd64"
|
mv tzpfms/out/zfs-tpm* "tzpfms-$tag-bin-amd64"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user