From 2cfe30e09385e5a8e1ca0690236629d93e267b43 Mon Sep 17 00:00:00 2001 From: bennibbelink <79653949+bennibbelink@users.noreply.github.com> Date: Sun, 11 Feb 2024 08:44:15 -0600 Subject: [PATCH 1/2] Update publish_release.yml to use release object for version_tag --- .github/workflows/publish_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index e1ab28891..efc3c65ca 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -33,7 +33,7 @@ jobs: - name: Tag as stable if: ${{ github.repository_owner == 'cyclus' }} run: | - echo "version_tag=${{ github.ref_name }}" >> "$GITHUB_ENV" + echo "version_tag=${{ github.event.release.tag_name }}" >> "$GITHUB_ENV" echo "stable_tag=stable" >> "$GITHUB_ENV" - name: Log in to the Container registry From 82461740dccb0d73a625195efe73ca3646c52da0 Mon Sep 17 00:00:00 2001 From: bennibbelink <79653949+bennibbelink@users.noreply.github.com> Date: Sun, 11 Feb 2024 08:46:24 -0600 Subject: [PATCH 2/2] Update CHANGELOG.rst --- CHANGELOG.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b991df2c6..d1d626c0a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,7 +5,7 @@ cycamore Change Log .. current developments **Added:** -* GitHub workflow for publishing images on release (#573) +* GitHub workflow for publishing images on release (#573, #580) * GitHub workflows for building/testing on a PR and push to `main` (#549, #564, #573) * Add functionality for random behavior on the size (#550) and frequency (#565) of a sink * GitHub workflow to check that the CHANGELOG has been updated (#562)