2018-05-08 00:55:16 +00:00
|
|
|
- increment version in version.go
|
|
|
|
- increment version in snapcraft.yaml
|
2018-07-14 22:17:54 +00:00
|
|
|
- tag git with same version number
|
|
|
|
- be sure to also tag with 'v' for gopkg.in
|
2018-05-08 00:55:16 +00:00
|
|
|
- make sure local build passes
|
|
|
|
- push tag to git
|
2018-11-19 22:49:44 +00:00
|
|
|
- git push --tags
|
2018-05-08 00:55:16 +00:00
|
|
|
- make local xcompile (builds binaries for all platforms)
|
|
|
|
|
|
|
|
- git release
|
|
|
|
./scripts/publish.sh
|
|
|
|
|
|
|
|
- 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
|
|
|
- see https://build.snapcraft.io/user/mikefarah/yq
|
|
|
|
|
|
|
|
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
|
|
|
|
2018-05-08 00:55:16 +00:00
|
|
|
|
|
|
|
- brew
|
2018-10-30 02:18:52 +00:00
|
|
|
- brew bump-formula-pr --url=https://github.com/mikefarah/yq/archive/2.1.2.tar.gz yq
|
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
|
2018-10-25 06:49:46 +00:00
|
|
|
- docker build . --arg -t mikefarah/yq:latest -t mikefarah/yq:VERSION
|
2018-06-11 19:44:55 +00:00
|
|
|
|
|
|
|
- debian package
|
|
|
|
- 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
|
|
|
|
is released, please contact rmescandon@gmail.com to bump debian package)
|