git: Fixed release CI not reading version correctly
This commit is contained in:
parent
fc105ecc3d
commit
6c047f01f9
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -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:
|
||||
|
2
lib/external/pattern_language
vendored
2
lib/external/pattern_language
vendored
@ -1 +1 @@
|
||||
Subproject commit c5e7c9e6243f5546b9732121164dc281463d61ce
|
||||
Subproject commit e71a16e663450853071c8266ae02d26bd4841d38
|
Loading…
Reference in New Issue
Block a user