forked from qt-creator/qt-creator
GitHub Actions: Use major version changelog also for pre-releases
Amends 332c47ba69
Change-Id: I08057e9d75b2900b829c225bf1e73f3ae82737d1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
2
.github/workflows/build_cmake.yml
vendored
2
.github/workflows/build_cmake.yml
vendored
@@ -62,7 +62,7 @@ jobs:
|
||||
execute_process(COMMAND git submodule set-url -- perfparser https://code.qt.io/qt-creator/perfparser.git)
|
||||
execute_process(COMMAND git submodule update --init --recursive)
|
||||
file(MAKE_DIRECTORY release)
|
||||
if (${{github.ref}} MATCHES "tags/v(.*)")
|
||||
if (${{github.ref}} MATCHES "tags/v([0-9.]+)")
|
||||
file(APPEND "$ENV{GITHUB_OUTPUT}" "tag=${CMAKE_MATCH_1}\n")
|
||||
if (EXISTS "dist/changelog/changes-${CMAKE_MATCH_1}.md")
|
||||
file(READ "dist/changelog/changes-${CMAKE_MATCH_1}.md" changelog_md)
|
||||
|
Reference in New Issue
Block a user