Skip to content

Commit

Permalink
switch release scripts to Bonsai, and switch checksum to sha512
Browse files Browse the repository at this point in the history
  • Loading branch information
johntdyer committed Nov 24, 2019
1 parent 719041f commit 7276c7d
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 100 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
vendor/
bonsai/
coverage.txt
coverage.out
dist/
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ checksum:
# You can change the name of the checksums file.
# Default is `{{ .ProjectName }}_{{ .Version }}_checksums.txt`.
name_template: "{{ .ProjectName }}_{{ .Version }}_sha512-checksums.txt"
algorithm: sha512

archives:
- id: default
Expand Down
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,4 @@ after_deploy:
- rm -f coverage.txt
- git clone https://github.com/sensu/sensu-go-bonsai-asset.git bonsai
- bonsai/generate-sha512sum.sh
- bonsai/github-release-upload.sh github_api_token=$GITHUB_TOKEN repo_slug="$TRAVIS_REPO_SLUG"
tag="${TRAVIS_TAG}" filename="dist/$(cat dist/sha512_file)"
- bonsai/github-release-upload.sh github_api_token=$GITHUB_TOKEN repo_slug="$TRAVIS_REPO_SLUG" tag="${TRAVIS_TAG}" filename="dist/$(cat dist/sha512_file)"
22 changes: 0 additions & 22 deletions travis/generate-sha512sum.sh

This file was deleted.

76 changes: 0 additions & 76 deletions travis/github-release-upload.sh

This file was deleted.

0 comments on commit 7276c7d

Please sign in to comment.