Skip to content

Commit

Permalink
Add notes on releasing gibo
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwhitaker committed Mar 4, 2020
1 parent 091e183 commit 7062bcd
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# To release a new version

Update the version number, currently found in [gibo](./gibo) and [com.github.simonwhitaker.Gibo.appdata.xml](misc/com.github.simonwhitaker.Gibo.appdata.xml). Then:

```sh
export GIBO_VERSION=0.0.1 # replace with the updated version number
git tag -a -m $GIBO_VERSION $GIBO_VERSION
git push --tags
```

A new [Docker build](https://hub.docker.com/repository/docker/simonwhitaker/gibo/builds) will be triggered automatically.

## To update Homebrew

```sh
export GIBO_VERSION=0.0.1 # replace with the updated version number
export GIBO_URL=https://github.com/simonwhitaker/gibo/archive/${GIBO_VERSION}.tar.gz
export GIBO_SHA=$(curl -sSL $GIBO_URL | shasum -a 256 | cut -d' ' -f1)
brew bump-formula-pr gibo --url $GIBO_URL --sha256 $GIBO_URL
```

0 comments on commit 7062bcd

Please sign in to comment.