From b91079d3a623bc90eb610d06d0e39fbf76f08902 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Mon, 11 Jul 2022 17:30:17 -0500 Subject: [PATCH] GitLab CI: Fixup our make-version calls. Call make-version.py on Windows using py.exe. Call it directly on other platforms. --- .gitlab-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 40bcdb4c13..368277f158 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -143,7 +143,7 @@ variables: - git config --global user.name "Your Name" - mkdir build - cd build - - python3 ../tools/make-version.py --set-release .. + - ../tools/make-version.py --set-release .. - mv -v ../wireshark-*.tar.* . artifacts: paths: @@ -185,7 +185,7 @@ Source Package: stage: .pre rules: !reference [.if-merged] script: - - python3 ../tools/make-version.py --set-release .. + - ../tools/make-version.py --set-release .. - printf "\e[0Ksection_start:%s:cmake_section[collapsed=true]\r\e[0KRunning CMake" "$( date +%s)" - cmake -G Ninja $CMAKE_ARGS -DENABLE_CCACHE=ON .. - printf "\e[0Ksection_end:%s:cmake_section\r\e[0K" "$( date +%s)" @@ -208,7 +208,7 @@ Debian Stable APT Package: image: registry.gitlab.com/wireshark/wireshark-containers/debian-stable-dev script: - ln --symbolic --no-dereference --force packaging/debian - - python3 tools/make-version.py --set-release . + - tools/make-version.py --set-release . # Shared GitLab runners limit the log size to 4M, so reduce verbosity. See # https://gitlab.com/gitlab-com/support-forum/issues/2790 - export DH_QUIET=1 @@ -330,7 +330,7 @@ Win64 Package: - mkdir build - cd build script: - - python3 ../tools/make-version.py --set-release .. + - C:\Windows\py.exe ..\tools\make-version.py --set-release .. - cmake -G "Visual Studio 17 2022" -A x64 -DUSE_qt6=ON -DENABLE_LTO=off .. - msbuild /verbosity:minimal "/consoleloggerparameters:PerformanceSummary;NoSummary" /maxcpucount Wireshark.sln - msbuild /verbosity:minimal /maxcpucount test-programs.vcxproj @@ -366,7 +366,7 @@ macOS Arm Package: - wireshark-macos-arm-package retry: 1 script: - - python3 tools/make-version.py --set-release . + - tools/make-version.py --set-release . - mkdir build - cd build - printf "\e[0Ksection_start:%s:cmake_section[collapsed=true]\r\e[0KRunning CMake" "$( date +%s)" @@ -400,7 +400,7 @@ macOS Intel Package: script: - export CMAKE_PREFIX_PATH=/usr/local/Qt-5.15.3 - export PATH="$PATH:$HOME/bin" - - python3 tools/make-version.py --set-release . + - tools/make-version.py --set-release . - mkdir build - cd build - printf "\e[0Ksection_start:%s:cmake_section[collapsed=true]\r\e[0KRunning CMake" "$( date +%s)"