From 26c415df683db32d18cac17ee259d0e2e1530965 Mon Sep 17 00:00:00 2001 From: Goswin Rothenthal Date: Sun, 15 Dec 2024 22:24:21 +0100 Subject: [PATCH] fix yak --- .github/workflows/release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b1b1a86..1725d8d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,9 @@ jobs: id: check_version shell: bash run: | - CHANGELOG_VERSION=$(cat bin/ChangelogVersion.txt | tr -d '[:space:]') + CHANGELOG_VERSION=$(cat bin/ChangelogVersion.txt | tr -d '[:space:]') + echo "CHANGELOG_VERSION=$CHANGELOG_VERSION" + echo "github.ref_name=${{ github.ref_name }}" if [ "${{ github.ref_name }}" != "$CHANGELOG_VERSION" ]; then echo "Version mismatch: git tag (${{ github.ref_name }}) and version in CHANGELOG.md ($CHANGELOG_VERSION) are not the same." exit 1 @@ -51,7 +53,10 @@ jobs: - name: Push new version to YAK - run: ..\yak.exe push *.yak + run: | + $YAK_FILE=$(ls *.yak) + echo $YAK_FILE + ..\yak.exe push $YAK_FILE working-directory: bin/Release # You should create a secret using the token from here: yak.exe login --ci env: