From d3c7642bccf85f7bcfbc38253233650d8c2047fb Mon Sep 17 00:00:00 2001 From: Nick Le Large Date: Tue, 12 Nov 2024 08:16:42 +0100 Subject: [PATCH 1/3] Add devel branch as worflow trigger --- .github/workflows/bump-version-and-create-release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/bump-version-and-create-release.yaml b/.github/workflows/bump-version-and-create-release.yaml index f9f4928..63ef1b1 100644 --- a/.github/workflows/bump-version-and-create-release.yaml +++ b/.github/workflows/bump-version-and-create-release.yaml @@ -5,6 +5,7 @@ on: - closed branches: - main + - fix_version_bump_workflow jobs: compute-version: From 2070e4b302e6834f45555b92a72a985575538189 Mon Sep 17 00:00:00 2001 From: Nick Le Large Date: Tue, 12 Nov 2024 08:49:29 +0100 Subject: [PATCH 2/3] Add some debug output --- .github/workflows/bump-version-and-create-release.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/bump-version-and-create-release.yaml b/.github/workflows/bump-version-and-create-release.yaml index 63ef1b1..22a4012 100644 --- a/.github/workflows/bump-version-and-create-release.yaml +++ b/.github/workflows/bump-version-and-create-release.yaml @@ -91,6 +91,12 @@ jobs: mkdir -p /tmp/artifacts/ docker run --rm -v /tmp/artifacts:/tmp/artifacts util_caching_release cp -r /release /tmp/artifacts/ + - name: Print debug outputs + run: | + ls -la /tmp/artifacts/release + cat version + git status + - name: Create Release uses: ncipollo/release-action@v1 with: From 5e4dfb2097fb58b5b639dad66687bf5e9d49fe3f Mon Sep 17 00:00:00 2001 From: Nick Le Large Date: Tue, 12 Nov 2024 08:52:13 +0100 Subject: [PATCH 3/3] Add compute version as dependency of release job --- .github/workflows/bump-version-and-create-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump-version-and-create-release.yaml b/.github/workflows/bump-version-and-create-release.yaml index 22a4012..797e6ff 100644 --- a/.github/workflows/bump-version-and-create-release.yaml +++ b/.github/workflows/bump-version-and-create-release.yaml @@ -66,7 +66,7 @@ jobs: create-release: - needs: update-version-file + needs: [compute-version, update-version-file] runs-on: ubuntu-latest permissions: contents: write