Warning
github-release
is deprecated. We recommend creating GitHub releases with the gh
CLI tool.
github-release
is a utility to create GitHub releases and upload packages.
$ github-release "v1.0" pkg/*.tar.gz --commit "branch-or-sha" \
--tag "1-0-0-stable" \
--prerelease \
--github-repository "your/repo" \
--github-access-token [..]
Environment variables can also be used:
$ export GITHUB_RELEASE_ACCESS_TOKEN="..."
$ export GITHUB_RELEASE_REPOSITORY="..."
$ export GITHUB_RELEASE_TAG="..."
$ export GITHUB_RELEASE_COMMIT="..."
$ export GITHUB_RELEASE_PRERELEASE="..."
$ github-release "v1.0" pkg/*.tar.gz
For the GitHub access token, you can use a personal access token
git clone git@github.com:buildkite/github-release.git
cd github-release
direnv allow
go run main.go --help
This project is developed and maintained by Buildkite
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright (c) 2015 Keith Pitt, Tim Lucas, Buildkite Pty Ltd. See LICENSE for details.