change conditions for tags
This commit is contained in:
parent
947af0ebdb
commit
b2b9a4228e
1 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,9 @@
|
|||
|
||||
name: Build and upload a binary on tag push
|
||||
on: [tag]
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
build-release:
|
||||
|
@ -16,8 +19,7 @@ jobs:
|
|||
mkdir release
|
||||
cp target/release/iss_locator release/iss_locator
|
||||
chmod +x release/iss_locator
|
||||
xz --keep -9 iss_locator
|
||||
mv iss_locator.xz release
|
||||
xz --keep -9 release/iss_locator
|
||||
shasum -a 256 release/iss_locator > release/iss_locator.sha256
|
||||
shasum -a 256 release/iss_locator.xz > release/iss_locator.xz.sha256
|
||||
- name: Upload release
|
||||
|
|
Loading…
Reference in a new issue