|
@@ -76,7 +76,9 @@ jobs:
|
|
|
echo ${last_committed_tag:1}
|
|
|
echo "Details: ${last_committed_tag}+git${git_revno}.${git_hash}"
|
|
|
echo "================================"
|
|
|
- echo "VERSION=${last_committed_tag:1}" >> $GITHUB_ENV
|
|
|
+ # This will allow to build pre-preleases without git tag
|
|
|
+ # echo "VERSION=${last_committed_tag:1}" >> $GITHUB_ENV
|
|
|
+ echo "VERSION=$(cat CMakeLists.txt |grep 'set.*(.*FLAMESHOT_VERSION' | sed 's/[^0-9.]*//' |sed 's/)//g')" >> $GITHUB_ENV
|
|
|
|
|
|
- name: Restore from cache and run vcpkg
|
|
|
uses: lukka/run-vcpkg@v4
|