mirror of
https://github.com/drone/drone-cli.git
synced 2026-02-08 10:53:34 +01:00
added sha generation, gitter notifications
This commit is contained in:
parent
bd560accf0
commit
37fe780d47
18
.drone.yml
18
.drone.yml
@ -28,6 +28,14 @@ script:
|
||||
- tar -cvzf ./dist/drone_windows_386.tar.gz ./bin/windows/386/drone
|
||||
- tar -cvzf ./dist/drone_windows_amd64.tar.gz ./bin/windows/amd64/drone
|
||||
|
||||
# generate shas for tar files
|
||||
- sha256sum ./dist/drone_linux_amd64.tar.gz > ./dist/drone_linux_amd64.sha256
|
||||
- sha256sum ./dist/drone_linux_386.tar.gz > ./dist/drone_linux_386.sha256
|
||||
- sha256sum ./dist/drone_linux_arm.tar.gz > ./dist/drone_linux_arm.sha256
|
||||
- sha256sum ./dist/drone_darwin_amd64.tar.gz > ./dist/drone_darwin_amd64.sha256
|
||||
- sha256sum ./dist/drone_windows_386.tar.gz > ./dist/drone_windows_386.sha256
|
||||
- sha256sum ./dist/drone_windows_amd64.tar.gz > ./dist/drone_windows_amd64.sha256
|
||||
|
||||
# install pip (required by s3 plugin to instal s3 cli)
|
||||
- apt-get update 1> /dev/null 2> /dev/null
|
||||
- apt-get -y install python-pip 1> /dev/null 2> /dev/null
|
||||
@ -44,4 +52,12 @@ publish:
|
||||
recursive: true
|
||||
when:
|
||||
branch: master
|
||||
owner: drone
|
||||
owner: drone
|
||||
|
||||
notify:
|
||||
webhook:
|
||||
urls:
|
||||
- https://webhooks.gitter.im/e/$$GITTER_KEY
|
||||
on_started: false
|
||||
on_success: true
|
||||
on_failure: true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user