tkilias / github-release

A command line utility to create GitHub releases and upload packages

Home Page:https://github.com/buildkite/github-release

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github-release

github-release is a utility to create GitHub releases and upload packages.

Usage

$ github-release "v1.0" pkg/*.tar.gz --commit "branch-or-sha" \
                                     --tag "1-0-0-stable" \
                                     --prerelease \
                                     --draft \
                                     --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="..."
$ export GITHUB_RELEASE_DRAFT="..."
$ github-release "v1.0" pkg/*.tar.gz

For the GitHub access token, you can use a personal access token

Development

git clone git@github.com:buildkite/github-release.git
cd github-release
direnv allow
go run main.go --help

Sponsor

This project is developed and maintained by Buildkite

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Copyright

Copyright (c) 2015 Keith Pitt, Tim Lucas, Buildkite Pty Ltd. See LICENSE for details.

About

A command line utility to create GitHub releases and upload packages

https://github.com/buildkite/github-release

License:MIT License


Languages

Language:Go 88.1%Language:Shell 7.3%Language:Dockerfile 4.7%