From df78e6caf1e7bef5e56cd57f3673498c1048b8b5 Mon Sep 17 00:00:00 2001 From: Dennis Gosnell Date: Fri, 11 Nov 2022 12:48:18 +0900 Subject: [PATCH 1/2] Add a little more documentation explaining that you have to update the CHANGELOG when making a new release --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e8b5827..ccfaafc 100644 --- a/README.md +++ b/README.md @@ -149,10 +149,13 @@ v3 Latest v3 2022-08-09T15:11:02Z ``` The most recent release in this case is `v3`, so if you want to make a new -release, just bump the version by one: +release, just bump the version by one to `v4`: ```console -$ gh release create --notes "This release uses fourmolu-0.9.0.0." --title "v4" v4 +$ vim ./CHANGELOG.md # add an entry for this new v4 release +$ git commit -m 'bumping to v4 with fourmolu-0.9.0.0' # create a commit for the new changelog +$ git push # push the changelog commit to the remote master branch +$ gh release create --notes "This release uses fourmolu-0.9.0.0." --title "v4" v4 # make a Release on GitHub ``` You may then want to run `git fetch` to fetch the new tag that has been From 1f0bc3a0c3f4b1e4e810fe3f754cf12ad612d22b Mon Sep 17 00:00:00 2001 From: Dennis Gosnell Date: Fri, 11 Nov 2022 12:48:46 +0900 Subject: [PATCH 2/2] bump to v5 with fourmolu-0.9.0.0 --- CHANGELOG.md | 4 ++++ dist/index.js | 2 +- index.js | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48e9671..deab25b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## Fourmolu action v5 + +* Uses Fourmolu 0.9.0.0. + ## Fourmolu action v4 * Uses Fourmolu 0.8.2.0. diff --git a/dist/index.js b/dist/index.js index 4d6b38b..1d29052 100644 --- a/dist/index.js +++ b/dist/index.js @@ -20,7 +20,7 @@ const tool_cache = __webpack_require__(7784); const exec = __webpack_require__(1514); const glob = __webpack_require__(8090); -const fourmolu_version = '0.8.2.0'; +const fourmolu_version = '0.9.0.0'; // XXX: These release binaries appear to be dynamically linked, so they may not // run on some systems. diff --git a/index.js b/index.js index 1db976f..b61cd02 100644 --- a/index.js +++ b/index.js @@ -7,7 +7,7 @@ const tool_cache = require('@actions/tool-cache'); const exec = require('@actions/exec'); const glob = require('@actions/glob'); -const fourmolu_version = '0.8.2.0'; +const fourmolu_version = '0.9.0.0'; // XXX: These release binaries appear to be dynamically linked, so they may not // run on some systems.