From f0ba1297cfcc96441a88cd0a8248db4aa05f354a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Michon?= Date: Wed, 27 Dec 2023 17:21:23 +0100 Subject: [PATCH] Bump v1.2.1 --- CHANGELOG.md | 4 ++++ README.md | 28 ++++++++++++++++++---------- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4641de19..39f33cf0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## To Be Released +## v1.2.1 - 2023-12-27 + +* chore(deps): various updates + ## v1.2.0 - 2022-12-01 * Bump github.com/fsouza/go-dockerclient from 1.8.3 to 1.9.0 diff --git a/README.md b/README.md index 6eaea903..9992ba8a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Acadock Monitoring - Docker container monitoring v1.2.0 +# Acadock Monitoring - Docker container monitoring v1.2.1 This webservice provides live data on Docker containers. It takes data from the Linux kernel control groups and from the namespace of @@ -90,22 +90,30 @@ Bump new version number in: Commit, tag and create a new release: ```sh +version="1.2.1" + +git switch --create release/${version} git add CHANGELOG.md README.md -git commit -m "release: Bump v1.2.0" -git tag v1.2.0 -git push origin master v1.2.0 -hub release create v1.2.0 +git commit -m "Bump v${version}" +git push --set-upstream origin release/${version} +gh pr create --reviewer=EtienneM --fill-first ``` -The project is using [GoReleaser](https://goreleaser.com) to build its archives. - -To build locally the archives, you can use the following command, it will -automatically use the version of the last tag created. +Once the pull request merged, you can tag the new release. +```sh +git tag v${version} +git push origin master v${version} +gh release create v${version} --generate-notes --prerelease +gh release view v${version} --web ``` + +Build locally the archives. You can use the following command, it will automatically use the version of the last tag created. + +```sh goreleaser release --skip-publish --skip-announce --skip-sign --rm-dist ``` -Add the builds to the newly created release. +On the web interface, unset the pre-release checkbox, check the "Set as the latest release" checkbox, and upload the archives in the `dist` folder. Last, update the default version installed in the [cookbook](https://github.com/Scalingo/cookbook-acadock).