Skip to content

Releases: lindell/github-release-cli

Github Releaser v1.3.0

05 Jul 20:05
6b05efa
Compare
Choose a tag to compare

🔧 Usage

The github-travis-releaser takes enviroment variables from travis and parses them so that you don't have to.

The only variables you need to take into concideration are:

Name Optional Description
GITHUB_OAUTH_TOKEN NO The oath token from github, needed to get the access to create the release
BODY YES The body of the release, can be markdown. It's recomended to use $(envsubst < ./CHANGELOG.md) or $(cat ./CHANGELOG.md) for longer bodies
FILES YES The path to the file(s) that should be uploaded. Wildcards can be used (e.g. release-files/*)
RELEASE_NAME YES The name (title) of the release. If nothing is set, it will be the same as the tag name

Command line flags:

Name Description
-draft Set the release as a draft
-prerelease Set if the the release is identified as non-production ready
-verbose Print logging statements

Example .travis.yml

before_deploy:
- curl https://github.com/lindell/github-release-cli/releases/download/1.3.0/github-releaser-travis -L --output github-releaser && chmod +x github-releaser
- export BODY=$(envsubst < ./CHANGELOG.md)
- export FILES=release-files/*
deploy:
  provider: script
  script: ./github-releaser -draft -verbose
  skip_cleanup: true
  on:
    tags: true

📡 Release Notes

  • Added pre-release flag (thanks to @liesauer)

Github Releaser v1.2.0

30 Jun 11:24
Compare
Choose a tag to compare

🔧 Usage

The github-travis-releaser takes enviroment variables from travis and parses them so that you don't have to.

The only variables you need to take into concideration are:

Name Optional Description
GITHUB_OATH_TOKEN NO The oath token from github, needed to get the access to create the release
BODY YES The body of the release, can be markdown. It's recomended to use $(envsubst < ./CHANGELOG.md) or $(cat ./CHANGELOG.md) for longer bodies
FILES YES The path to the file(s) that should be uploaded. Wildcards can be used (e.g. release-files/*)
RELEASE_NAME YES The name (title) of the release. If nothing is set, it will be the same as the tag name

Command line flags:

Name Description
-draft Set the release as a draft
-verbose Print logging statements

Example .travis.yml

before_deploy:
- curl https://github.com/lindell/github-release-cli/releases/download/1.2.0/github-releaser-travis -L --output github-releaser && chmod +x github-releaser
- export BODY=$(envsubst < ./CHANGELOG.md)
- export FILES=release-files/*
deploy:
  provider: script
  script: ./github-releaser -draft -verbose
  skip_cleanup: true
  on:
    tags: true

📡 Release Notes

  • Added warning when the OAuth token is not provided

Github Releaser v1.1.0

08 Jun 19:27
Compare
Choose a tag to compare

🔧 Usage

The github-travis-releaser takes enviroment variables from travis and parses them so that you don't have to.

The only variables you need to take into concideration are:

Name Optional Description
GITHUB_OATH_TOKEN NO The oath token from github, needed to get the access to create the release
BODY YES The body of the release, can be markdown. It's recomended to use $(envsubst < ./CHANGELOG.md) or $(cat ./CHANGELOG.md) for longer bodies
FILES YES The path to the file(s) that should be uploaded. Wildcards can be used (e.g. release-files/*)
RELEASE_NAME YES The name (title) of the release. If nothing is set, it will be the same as the tag name

Command line flags:

Name Description
-draft Set the release as a draft
-verbose Print logging statements

Example .travis.yml

before_deploy:
- curl https://github.com/lindell/github-release-cli/releases/download/1.1.0/github-releaser-travis -L --output github-releaser && chmod +x github-releaser
- export BODY=$(envsubst < ./CHANGELOG.md)
- export FILES=release-files/*
deploy:
  provider: script
  script: ./github-releaser -draft -verbose
  skip_cleanup: true
  on:
    tags: true

📡 Release Notes

  • Added version flag

Github Releaser v1.0.0

08 Jun 14:52
Compare
Choose a tag to compare

🔧 Usage

The github-travis-releaser takes enviroment variables from travis and parses them so that you don't have to.

The only variables you need to take into concideration are:

Name Optional Description
GITHUB_OATH_TOKEN NO The oath token from github, needed to get the access to create the release
BODY YES The body of the release, can be markdown. It's recomended to use $(envsubst < ./CHANGELOG.md) or $(cat ./CHANGELOG.md) for longer bodies
FILES YES The path to the file(s) that should be uploaded. Wildcards can be used (e.g. release-files/*)
RELEASE_NAME YES The name (title) of the release. If nothing is set, it will be the same as the tag name

Command line flags:

Name Description
-draft Set the release as a draft
-verbose Print logging statements

Example .travis.yml

before_deploy:
- curl https://github.com/lindell/github-release-cli/releases/download/1.0.0/github-releaser-travis -L --output github-releaser && chmod +x github-releaser
- export BODY=$(envsubst < ./CHANGELOG.md)
- export FILES=release-files/*
deploy:
  provider: script
  script: ./github-releaser -draft -verbose
  skip_cleanup: true
  on:
    tags: true

📡 Release Notes

  • Stable release

0.5.0

08 Jun 14:42
Compare
Choose a tag to compare

🔧 Usage

The github-travis-releaser takes enviroment variables from travis and parses them so that you don't have to.

The only variables you need to take into concideration are:

Name Optional Description
GITHUB_OATH_TOKEN true The oath token from github, needed to get the access to create the release
BODY false The body of the release, can be markdown. It's recomended to use $(envsubst < ./CHANGELOG.md) or $(cat ./CHANGELOG.md) for longer bodies
FILES false The path to the file(s) that should be uploaded. Wildcards can be used (e.g. release-files/*)
RELEASE_NAME false The name (title) of the release. If nothing is set, it will be the same as the tag name

Command line flags:

Name Description
-draft Set the release as a draft
-verbose Print logging statements

Example .travis.yml

before_deploy:
- curl https://github.com/lindell/github-release-cli/releases/download/0.5.0/github-releaser-travis -L --output github-releaser && chmod +x github-releaser
- export BODY=$(envsubst < ./CHANGELOG.md)
- export FILES=release-files/*
deploy:
  provider: script
  script: ./github-releaser
  skip_cleanup: true
  on:
    tags: true

📡 Release Notes

  • Added verbose flag

0.4.0

08 Jun 10:58
Compare
Choose a tag to compare

🔧 Usage

The github-travis-releaser takes enviroment variables from travis and parses them so that you don't have to.
The only variables you need to take into concideration are:

Name Optional Description
GITHUB_OATH_TOKEN true The oath token from github, needed to get the access to create the release
BODY false The body of the release, can be markdown. It's recomended to use $(envsubst < ./CHANGELOG.md) or $(cat ./CHANGELOG.md) for longer bodies
FILES false The path to the file(s) that should be uploaded. Wildcards can be used (e.g. release-files/*)
RELEASE_NAME false The name (title) of the release. If nothing is set, it will be the same as the tag name

Example .travis.yml

before_deploy:
- curl https://github.com/lindell/github-release-cli/releases/download/0.4.0/github-releaser-travis -L --output github-releaser && chmod +x github-releaser
- export BODY=$(envsubst < ./CHANGELOG.md)
- export FILES=release-files/*
deploy:
  provider: script
  script: ./github-releaser
  skip_cleanup: true
  on:
    tags: true

📡 Release Notes

  • Added RELEASE_NAME

0.3.3

08 Jun 09:15
Compare
Choose a tag to compare

🔧 Usage

The github-travis-releaser takes enviroment variables from travis and parses them so that you don't have to.
The only variables you need to take into concideration are:

Name Optional Description
GITHUB_OATH_TOKEN true The oath token from github, needed to get the access to create the release
BODY false The body of the release, can be markdown. It's recomended to use $(envsubst < ./CHANGELOG.md) or $(cat ./CHANGELOG.md) for longer bodys
FILES false The path to the file(s) that should be uploaded. Wildcards can be used (e.g. release-files/*)

Example .travis.yml

before_deploy:
- curl https://github.com/lindell/github-release-cli/releases/download/0.3.3/github-releaser-travis -L --output github-releaser && chmod +x github-releaser
- export BODY=$(envsubst < ./CHANGELOG.md)
- export FILES=release-files/*
deploy:
  provider: script
  script: ./github-releaser
  skip_cleanup: true
  on:
    tags: true

📡 Release Notes

  • Better release notes

0.3.1

07 Jun 19:33
Compare
Choose a tag to compare

🔧 Usage

before_deploy:
- curl https://github.com/lindell/github-release-cli/releases/download/0.3.1/github-releaser-travis -L --output github-releaser && chmod +x github-releaser
- export BODY=$(envsubst < ./CHANGELOG.md)
- export FILES=release-files/*
deploy:
  provider: script
  script: ./github-releaser
  skip_cleanup: true
  on:
    tags: true

📡 Release Notes

  • Added draft option

0.2.2

07 Jun 19:02
Compare
Choose a tag to compare

🔧 Usage

before_deploy:
- curl https://github.com/lindell/travis-golang-release-boilerplate/releases/download/0.2.2/github-release -L --output github-releaser && chmod +x github-releaser
- export BODY=$(cat ./CHANGELOG.md)
- export FILES=bin/*
deploy:
  provider: script
  script: ./github-releaser
  skip_cleanup: true
  on:
    tags: true

📡 Release Notes

  • First real release

0.2.1

07 Jun 18:53
Compare
Choose a tag to compare
Using the right releaser