Skip to content

Commit

Permalink
fix github release
Browse files Browse the repository at this point in the history
  • Loading branch information
ydkn committed Jul 27, 2019
1 parent f779204 commit ea3d581
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ deploy:
repo: SICSoftwareGmbH/sensu-plugins-ruby

- provider: script
script: bonsai/ruby-runtime/travis-build-ruby-plugin-assets.sh sensu-plugins-ruby
script:
- ./deploy.sh
skip_cleanup: true
on:
tags: true
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.1.2] - 2019-07-27

## [0.1.1] - 2019-07-26

## [0.1.0] - 2019-07-26
### Added
- check if ruby version is current
Expand Down
5 changes: 5 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash -e

curl -s -H "Authorization: token ${GITHUB_TOKEN}" --data "{\"tag_name\": \"${TRAVIS_TAG}\"}" -X POST "https://api.github.com/repos/${TRAVIS_REPO_SLUG}/releases"

./bonsai/ruby-runtime/travis-build-ruby-plugin-assets.sh sensu-plugins-ruby

0 comments on commit ea3d581

Please sign in to comment.