From 7ccb11609a2c5eaa2d57419f346bb29b72c15d7d Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Tue, 3 Jun 2025 17:15:13 +0100 Subject: [PATCH] Another attempt to fix publish workflow --- .github/workflows/tagging.yml | 8 ++++---- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tagging.yml b/.github/workflows/tagging.yml index cfc7fa5..3c1642c 100644 --- a/.github/workflows/tagging.yml +++ b/.github/workflows/tagging.yml @@ -33,16 +33,16 @@ jobs: echo "TAG_EXISTS=true" >> $GITHUB_ENV else echo "TAG_EXISTS=false" >> $GITHUB_ENV + echo "VERSION=$VERSION" >> $GITHUB_ENV fi - name: Create and Push Git Tag if: env.TAG_EXISTS == 'false' run: | - VERSION=${{ fromJson(steps.info.outputs.object).package.version }} git config --global user.name "github-actions[bot]" git config --global user.email "github-actions[bot]@users.noreply.github.com" - git tag "$VERSION" - git push origin "$VERSION" + git tag "${{ env.VERSION }}" + git push origin "${{ env.VERSION }}" - name: Trigger Release Workflow if: env.TAG_EXISTS == 'false' @@ -54,5 +54,5 @@ jobs: owner: context.repo.owner, repo: context.repo.repo, workflow_id: 'CI.yml', - ref: 'main' + ref: '${{ env.VERSION }}' // <-- This is the key change! }) diff --git a/Cargo.toml b/Cargo.toml index 0d73695..41f9f69 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "read_aconity_layers" -version = "0.4.7+2" +version = "0.4.8+3" edition = "2021" [lib]