diff options
author | Eike Ziller <eike.ziller@qt.io> | 2020-03-19 16:02:44 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2020-03-23 07:14:27 +0000 |
commit | 9eceb46739803bb7482e9017cd79df92203ecbad (patch) | |
tree | a5225bc4dd9bec174a8636f88a6f3e805bd2c420 /.github | |
parent | 549b2f60924aafdb9b3f22bdbcd7870afe3ae172 (diff) |
Fix link on commit sha in about dialog
Passing a URL via defines breaks when trying to "stringify" it.
It would always stop at the first slash.
Instead use a qmake variable directly. That has the additional advantage that
the value isn't passed on each and every compiler command line.
Change-Id: I97a297fbcdee5ea03eb6fa08181c95b1ad2de767
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build_cmake.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 5722143c046..f409216afb7 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -333,7 +333,7 @@ jobs: -D WITH_TESTS=ON -D IDE_REVISION=TRUE -D IDE_REVISION_STR=$ENV{GITHUB_SHA} - -D IDE_REVISION_URL_STR=https://github.com/$ENV{GITHUB_REPOSITORY}/commits/$ENV{GITHUB_SHA} + -D IDE_REVISION_URL=https://github.com/$ENV{GITHUB_REPOSITORY}/commits/$ENV{GITHUB_SHA} RESULT_VARIABLE result COMMAND_ECHO STDOUT ) |