diff --git a/.travis.yml b/.travis.yml index d1526b4..fbce365 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e66214..145d2a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..f1d48eb --- /dev/null +++ b/deploy.sh @@ -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