Another attempt to fix publish workflow

This commit is contained in:
2025-06-03 17:15:13 +01:00
parent 54536ae81a
commit 7ccb11609a
2 changed files with 5 additions and 5 deletions

View File

@@ -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!
})

View File

@@ -1,6 +1,6 @@
[package]
name = "read_aconity_layers"
version = "0.4.7+2"
version = "0.4.8+3"
edition = "2021"
[lib]