drone sha256

This commit is contained in:
Dan Ballard 2019-03-04 13:26:12 -08:00
parent f886a626b7
commit f4368a0810
1 changed files with 8 additions and 2 deletions

View File

@ -20,6 +20,7 @@ pipeline:
- cd deploy - cd deploy
- mv linux cwtch - mv linux cwtch
- tar -czf $FILENAME cwtch - tar -czf $FILENAME cwtch
- sha256sum $FILENAME > $FILENAME.sha256
- rm -r cwtch - rm -r cwtch
build-android: build-android:
mem_limit: 3G mem_limit: 3G
@ -38,7 +39,10 @@ pipeline:
- find -iname 'rcc*' | xargs rm - find -iname 'rcc*' | xargs rm
- go get -d - go get -d
- qtdeploy build android - qtdeploy build android
- cp deploy/android/build-debug.apk deploy/cwtch-android-`date +%G-%m-%d-%H-%M`.apk - cd deploy
- export FILENAME=cwtch-android-`date +%G-%m-%d-%H-%M`.apk
- cp android/build-debug.apk $FILENAME
- sha256sum $FILENAME > $FILENAME.sha256
build-windows: build-windows:
mem_limit: 3G mem_limit: 3G
image: therecipe/qt:windows_64_shared image: therecipe/qt:windows_64_shared
@ -59,7 +63,9 @@ pipeline:
- cp -r windows/* deploy/windows - cp -r windows/* deploy/windows
- cd deploy - cd deploy
- mv windows cwtch - mv windows cwtch
- zip -r cwtch-windows-`date +%G-%m-%d-%H-%M`.zip cwtch - export FILENAME=cwtch-windows-`date +%G-%m-%d-%H-%M`.zip
- zip -r $FILENAME cwtch
- sha256sum $FILENAME > $FILENAME.sha256
- rm -r cwtch - rm -r cwtch
deploy-buildfiles: deploy-buildfiles:
image: pivotaldata/concourse-ssh image: pivotaldata/concourse-ssh