yq/release_instructions.txt

55 lines
1.9 KiB
Plaintext
Raw Normal View History

2021-09-05 01:11:51 +00:00
- update release notes
2018-05-08 00:55:16 +00:00
- make sure local build passes
2021-11-03 10:59:03 +00:00
- run ./scripts/copy-docs.sh (and commit the changed in the yq-book branch)
2022-11-27 21:39:48 +00:00
- run ./scripts/bump-version.sh
- git push
2024-02-08 23:22:54 +00:00
// to move the v4 branch
- git push origin -d v4
2022-11-27 21:39:48 +00:00
- git push --tags
- 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
2021-02-10 06:12:54 +00:00
2018-05-08 00:55:16 +00:00
- snapcraft
2022-11-15 00:05:44 +00:00
- update snapcraft version
- https://snapcraft.io/yq/builds
- will auto create a candidate, test it works then promote
2021-06-17 03:57:11 +00:00
- !! need to update v4/stable as well as latest
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
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
- 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
- debian package (with release script)
- execute the script `./scripts/release-deb.sh` *on the machine having the private
gpg key to sign the generated sources* providing the version to release, the
ppa where deploying the files and the passphrase of the private key if needed:
```
./scripts/release-deb.sh -o output -p -s --passphrase PASSPHRASE VERSION
```
- debian package (manually)
- ensure you get all vendor dependencies before packaging
```go mod vendor```
- 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)