mirror of https://github.com/stashapp/stash.git
Add checksums for releases (#1093)
This commit is contained in:
parent
25b600f768
commit
918b739b6c
|
@ -25,6 +25,8 @@ script:
|
|||
after_success:
|
||||
- docker pull stashapp/compiler:4
|
||||
- sh ./scripts/cross-compile.sh
|
||||
- git describe --tags --exclude latest_develop | tee CHECKSUMS_SHA1
|
||||
- sha1sum dist/stash-* | sed 's/dist\///g' | tee -a CHECKSUMS_SHA1
|
||||
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then sh ./scripts/upload-pull-request.sh; fi'
|
||||
before_deploy:
|
||||
# push the latest tag when on the develop branch
|
||||
|
@ -47,6 +49,7 @@ deploy:
|
|||
- dist/stash-linux-arm64v8
|
||||
- dist/stash-linux-arm32v7
|
||||
- dist/stash-pi
|
||||
- CHECKSUMS_SHA1
|
||||
skip_cleanup: true
|
||||
overwrite: true
|
||||
name: "${STASH_VERSION}: Latest development build"
|
||||
|
@ -73,6 +76,7 @@ deploy:
|
|||
- dist/stash-linux-arm64v8
|
||||
- dist/stash-linux-arm32v7
|
||||
- dist/stash-pi
|
||||
- CHECKSUMS_SHA1
|
||||
# make the release a draft so the maintainers can confirm before releasing
|
||||
draft: true
|
||||
skip_cleanup: true
|
||||
|
|
|
@ -33,3 +33,6 @@ uploadFile()
|
|||
uploadFile "dist/stash-osx"
|
||||
uploadFile "dist/stash-win.exe"
|
||||
uploadFile "dist/stash-linux"
|
||||
|
||||
echo "SHA1 Checksums"
|
||||
cat CHECKSUMS_SHA1 | grep -v '\-pi\|\-arm'
|
||||
|
|
Loading…
Reference in New Issue