1
0
mirror of synced 2024-11-24 15:50:16 +01:00

git: Fixed release CI not reading version correctly

This commit is contained in:
WerWolv 2023-04-04 21:59:43 +02:00
parent fc105ecc3d
commit 6c047f01f9
2 changed files with 20 additions and 8 deletions

View File

@ -14,6 +14,18 @@ jobs:
name: Release Update Repos
steps:
- name: 📜 Verify version and set version variable
run: |
project_version=`cat ImHex/VERSION`
tag_version="${{github.event.release.tag_name}}"
tag_version="${tag_version:1}"
if [ "$project_version" != "$tag_version" ]; then
echo "::warning::$project_version and $tag_version are not the same ! Refusing to populate release"
exit 1
fi
echo "IMHEX_VERSION=$project_version" >> $GITHUB_ENV
- name: 🎫 Create PatternLanguage release
uses: ncipollo/release-action@v1
env:

@ -1 +1 @@
Subproject commit c5e7c9e6243f5546b9732121164dc281463d61ce
Subproject commit e71a16e663450853071c8266ae02d26bd4841d38