2018-05-08 00:55:16 +00:00
|
|
|
- increment version in version.go
|
|
|
|
- increment version in snapcraft.yaml
|
2020-12-28 22:50:21 +00:00
|
|
|
- increment version in github-action/Dockerfile
|
2018-05-08 00:55:16 +00:00
|
|
|
- make sure local build passes
|
2021-02-04 02:12:16 +00:00
|
|
|
- commit version update changes
|
2020-12-22 23:23:09 +00:00
|
|
|
- tag git with same version number
|
|
|
|
- commit vX tag - this will trigger github actions
|
|
|
|
- use github actions to publish docker and make github release
|
2020-12-28 22:59:16 +00:00
|
|
|
- check github updated yq action in marketplace
|
2018-05-08 00:55:16 +00:00
|
|
|
|
|
|
|
- snapcraft
|
2018-06-11 19:44:55 +00:00
|
|
|
- will auto create a candidate, test it works then promote
|
2018-06-20 09:45:43 +00:00
|
|
|
|
|
|
|
sudo snap remove yq
|
|
|
|
sudo snap install --edge yq
|
|
|
|
|
2018-10-30 02:18:52 +00:00
|
|
|
then use the UI (https://snapcraft.io/yq/release)
|
2018-06-20 09:45:43 +00:00
|
|
|
|
2019-11-13 01:26:33 +00:00
|
|
|
- go get
|
|
|
|
- update the readme instructions
|
2018-05-08 00:55:16 +00:00
|
|
|
|
|
|
|
- brew
|
2018-11-21 02:39:03 +00:00
|
|
|
- brew bump-formula-pr --url=https://github.com/mikefarah/yq/archive/2.2.0.tar.gz yq
|
2019-03-22 05:03:11 +00:00
|
|
|
- if that fails with random ruby errors try:
|
|
|
|
- clearing out the gems rm -rf .gem/ruby/2.3.0
|
|
|
|
- export HOMEBREW_FORCE_VENDOR_RUBY=1
|
2018-05-08 00:55:16 +00:00
|
|
|
|
|
|
|
- docker
|
2018-06-11 19:44:55 +00:00
|
|
|
- build and push latest and new version tag
|
2020-10-18 22:01:52 +00:00
|
|
|
- docker build . -t mikefarah/yq:latest -t mikefarah/yq:3 -t mikefarah/yq:3.X
|
2018-06-11 19:44:55 +00:00
|
|
|
|
|
|
|
- debian package
|
2020-02-24 20:27:10 +00:00
|
|
|
- ensure you get all vendor dependencies before packaging
|
|
|
|
```go mod vendor```
|
2018-06-11 19:44:55 +00:00
|
|
|
- execute
|
|
|
|
```dch -i```
|
|
|
|
- fill debian/changelog with changes from last version
|
|
|
|
- build the package sources
|
|
|
|
```debuild -i -I -S -sa```
|
|
|
|
(signing with gpg key is required in order to put it to ppa)
|
|
|
|
- put to PPA
|
|
|
|
```dput ppa:<REPOSITORY> ../yq_<VERSION>_source.changes```
|
|
|
|
(current distro repository is ppa:rmescandon/yq. In case that a new version
|
2020-02-24 20:27:10 +00:00
|
|
|
is released, please contact rmescandon@gmail.com to bump debian package)
|