From fbd07c8efb34d6246196ff5d785fa680ee7f091b Mon Sep 17 00:00:00 2001 From: Monty Bot Date: Fri, 10 Jan 2025 12:47:00 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20releasing=20version=203.2.4=20@?= =?UTF-8?q?=202025-01-10=2012:47=20[skip=20ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 10 ++++++++++ continuous_delivery_scripts/_version.py | 6 +++--- docs/plugins/golang.html | 9 ++++++++- docs/third_party_IP_report.html | 2 +- docs/third_party_IP_report.txt | 2 +- news/20250110123102.bugfix | 1 - news/20250110123255.bugfix | 1 - 7 files changed, 23 insertions(+), 8 deletions(-) delete mode 100644 news/20250110123102.bugfix delete mode 100644 news/20250110123255.bugfix diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a08f69..f0daede 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,16 @@ This project was forked from version 1.7.4 of [mbed-tools-ci-scripts](https://gi [//]: # (begin_release_notes) +"3.2.4" (2025-01-10) +==================== + +Bugfixes +-------- + +- :gear: `[Golang]` Install [`syft`](https://github.com/anchore/syft) since it is a dependency to `goreleaser` (#20250110123102) +- :bug: `[Golang]` fix `goreleaser` [command deprecation](https://goreleaser.com/deprecations/#-rm-dist) (#20250110123255) + + "3.2.3" (2025-01-10) ==================== diff --git a/continuous_delivery_scripts/_version.py b/continuous_delivery_scripts/_version.py index 1b6ae20..3efac9a 100644 --- a/continuous_delivery_scripts/_version.py +++ b/continuous_delivery_scripts/_version.py @@ -10,8 +10,8 @@ This file is autogenerated, do not modify by hand. """ -__version__ = "3.2.3" -COMMIT = "f8310aa5a059d28a4b6912462e56bd1f951142a4" +__version__ = "3.2.4" +COMMIT = "a5ecba48736d2554746e986b9c94cce9fb6041a3" MAJOR = 3 MINOR = 2 -PATCH = 3 +PATCH = 4 diff --git a/docs/plugins/golang.html b/docs/plugins/golang.html index f9d998c..e05042c 100644 --- a/docs/plugins/golang.html +++ b/docs/plugins/golang.html @@ -74,7 +74,7 @@

Module continuous_delivery_scripts.plugins.golang return [ "goreleaser", "release", - "--rm-dist", + "--clean", "--release-notes", f"{str(changelog)}", ] @@ -95,6 +95,10 @@

Module continuous_delivery_scripts.plugins.golang ] # FIXME change version to latest when https://github.com/go101/golds/issues/26 is fixed +def _install_syft_command_list() -> List[str]: + return ["go", "install", "github.com/anchore/syft/cmd/syft@latest"] + + def _install_goreleaser_command_list() -> List[str]: return ["go", "install", "github.com/goreleaser/goreleaser@latest"] @@ -120,6 +124,7 @@

Module continuous_delivery_scripts.plugins.golang logger.info("Installing GoReleaser if missing.") env = os.environ env[ENVVAR_GO_MOD] = GO_MOD_ON_VALUE + check_call(_install_syft_command_list(), env=env) check_call(_install_goreleaser_command_list(), env=env) logger.info("Checking GoReleaser configuration.") env[ENVVAR_GORELEASER_CUSTOMISED_TAG] = version @@ -208,6 +213,7 @@

Module continuous_delivery_scripts.plugins.golang logger.info("Installing GoReleaser if missing.") env = os.environ env[ENVVAR_GO_MOD] = GO_MOD_ON_VALUE + check_call(_install_syft_command_list(), env=env) check_call(_install_goreleaser_command_list(), env=env) tag = self.get_version_tag(version) # The tag of the release must be retrieved @@ -303,6 +309,7 @@

Classes

logger.info("Installing GoReleaser if missing.") env = os.environ env[ENVVAR_GO_MOD] = GO_MOD_ON_VALUE + check_call(_install_syft_command_list(), env=env) check_call(_install_goreleaser_command_list(), env=env) tag = self.get_version_tag(version) # The tag of the release must be retrieved diff --git a/docs/third_party_IP_report.html b/docs/third_party_IP_report.html index 2916cdd..363f59f 100644 --- a/docs/third_party_IP_report.html +++ b/docs/third_party_IP_report.html @@ -65,7 +65,7 @@

Project's 3rd party IP report

-

2025-01-10 08:32:14.770122

+

2025-01-10 12:46:58.739812

Summary

diff --git a/docs/third_party_IP_report.txt b/docs/third_party_IP_report.txt index ba83ae7..7f32c5d 100644 --- a/docs/third_party_IP_report.txt +++ b/docs/third_party_IP_report.txt @@ -1,6 +1,6 @@ 3rd party IP report for continuous-delivery-scripts - 2025-01-10 08:32:14.770122 + 2025-01-10 12:46:58.739812 # Summary: Licence compliance: Not compliant diff --git a/news/20250110123102.bugfix b/news/20250110123102.bugfix deleted file mode 100644 index e4375a3..0000000 --- a/news/20250110123102.bugfix +++ /dev/null @@ -1 +0,0 @@ -:gear: `[Golang]` Install [`syft`](https://github.com/anchore/syft) since it is a dependency to `goreleaser` diff --git a/news/20250110123255.bugfix b/news/20250110123255.bugfix deleted file mode 100644 index 796937f..0000000 --- a/news/20250110123255.bugfix +++ /dev/null @@ -1 +0,0 @@ -:bug: `[Golang]` fix `goreleaser` [command deprecation](https://goreleaser.com/deprecations/#-rm-dist)