Skip to content

Commit

Permalink
fix yak
Browse files Browse the repository at this point in the history
  • Loading branch information
goswinr committed Dec 15, 2024
1 parent 8b4fa7f commit 26c415d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 26c415d

Please sign in to comment.