From 5cda756f92bdf587be783722a84d6357621e8d0a Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Mon, 23 Oct 2023 19:37:40 +0200 Subject: [PATCH] CI: Remove get release version for macOS private --- .github/workflows/build.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f5b48ba6..7c587bef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1007,12 +1007,9 @@ jobs: - name: Set is release run: echo "is_release=$(grep '^\s*set\s*(\s*INCLUDE_GIT_REVISION\s\+OFF\s*)\s*$' cmake/Version.cmake >/dev/null 2>&1 && echo 1 || echo 0)" >> $GITHUB_ENV - - name: Get release version - run: echo "release_version=$(git describe --tags --exact-match ${GITHUB_SHA} 2>/dev/null | head -1)" >> $GITHUB_ENV - - name: Set Upload path run: | - if [ "${{env.is_release}}" = "1" ] && ! [ "${{env.release_version}}" = "" ]; then + if [ "${{env.is_release}}" = "1" ]; then echo "upload_path=${{secrets.DOWNLOADS_PATH}}/stable_releases/macos" >> $GITHUB_ENV else echo "upload_path=${{secrets.DOWNLOADS_PATH}}/development_releases/macos" >> $GITHUB_ENV