mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-25 13:57:56 +02:00
improved packaging
- use version in archive name - "macOS" instead of "Darwin" - include example config in archives - use subdir in archives
This commit is contained in:
parent
d96df4367d
commit
cde9b28c28
5 changed files with 17 additions and 5 deletions
|
@ -11,7 +11,13 @@ tasks:
|
|||
go test -v ./...
|
||||
- build: |
|
||||
cd scotty
|
||||
goreleaser release --snapshot --clean
|
||||
GIT_REF=$(git describe --always)
|
||||
if [[ "$GIT_REF" =~ ^v[0-9]+\.[0-9]+(\.[0-9]+)?$ ]]
|
||||
then
|
||||
goreleaser release --clean
|
||||
else
|
||||
goreleaser release --snapshot --clean
|
||||
fi
|
||||
- publish-redirect: |
|
||||
# Update redirect on https://go.uploadedlobster.com/scotty
|
||||
./scotty/pages/publish.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue