Coder Social home page Coder Social logo

gh-release's Introduction

gh-release

Utility for creating, deleting, and uploading files to Github Releases.

Circle CI

Getting gh-release

Download and uncompress the appropriate binary from releases.

Using gh-release

You need to have a Github personal access token defined in your environment as GITHUB_ACCESS_TOKEN.

$ gh-release 
Usage: gh-release create|destroy <reponame> <version> [branch] [name]

Creating a release with assets

Put any assets you want to upload with your release into a release directory. Then call gh-release. Here is an example:

$ gh-release create progrium/gh-release 1.0.0

This will create a tagged release v1.0.0 then upload any files found in the ./release directory. Optional arguments you can pass include the branch to tag the release from and a name for the release.

See this project's Makefile for a real example of using it in a Makefile.

Destroying a release

You can destroy a release by the version number you used to create the release:

$ gh-release destroy progrium/gh-release 1.0.0

This destroys the release and its assets, as well as the v1.0.0 tag created for the release.

Sponsor

This project was made possible thanks to DigitalOcean.

License

BSD

gh-release's People

Contributors

databus23 avatar jimmidyson avatar jtopjian avatar jwerle avatar lalyos avatar progrium avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.