dbmate/RELEASING.md

13 lines
612 B
Markdown
Raw Normal View History

2019-05-27 15:29:11 -07:00
# Releasing
The following steps should be followed to publish a new version of dbmate (requires write access to this repository).
2020-05-24 20:42:33 -07:00
1. Update [version.go](/pkg/dbmate/version.go) with new version number ([example PR](https://github.com/amacneil/dbmate/pull/79/files))
2019-05-27 15:29:11 -07:00
2. Create new release on GitHub project [releases page](https://github.com/amacneil/dbmate/releases)
3. Travis CI will automatically publish release binaries to GitHub
2019-05-27 15:29:11 -07:00
4. Create PR to update Homebrew package by running the following command:
```
$ brew bump-formula-pr --url=https://github.com/amacneil/dbmate/archive/vX.Y.Z.tar.gz dbmate
```