From 74abf4f110b46a9c8799e5f3116bc200c29b9b80 Mon Sep 17 00:00:00 2001 From: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> Date: Fri, 24 May 2024 17:10:31 -0700 Subject: [PATCH] build: Name binaries consistently (#4504) --- .github/actions/build-prqlc-c/action.yaml | 4 ++-- .github/actions/build-prqlc/action.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/build-prqlc-c/action.yaml b/.github/actions/build-prqlc-c/action.yaml index 2b376eae451d..f0dcbcbcf893 100644 --- a/.github/actions/build-prqlc-c/action.yaml +++ b/.github/actions/build-prqlc-c/action.yaml @@ -70,7 +70,7 @@ runs: shell: bash if: runner.os != 'Windows' run: | - export ARTIFACT_NAME="prqlc_c-v${{ github.ref_type == 'tag' && github.ref_name || 0 }}-${{ matrix.target }}.tar.gz" + export ARTIFACT_NAME="prqlc_c-${{ github.ref_type == 'tag' && github.ref_name || 0 }}-${{ matrix.target }}.tar.gz" echo "ARTIFACT_NAME=${ARTIFACT_NAME}" >>"$GITHUB_ENV" cd target/${{ matrix.target }}/${{ inputs.profile == 'release' && 'release' || 'debug' }} ls -al @@ -80,7 +80,7 @@ runs: shell: bash if: runner.os == 'Windows' run: | - export ARTIFACT_NAME="prqlc_c-v${{ github.ref_type == 'tag' && github.ref_name || 0 }}-${{ matrix.target }}.zip" + export ARTIFACT_NAME="prqlc_c-${{ github.ref_type == 'tag' && github.ref_name || 0 }}-${{ matrix.target }}.zip" echo "ARTIFACT_NAME=${ARTIFACT_NAME}" >>"$GITHUB_ENV" cd target/${{ matrix.target }}/${{ inputs.profile == 'release' && 'release' || 'debug' }} ls -al diff --git a/.github/actions/build-prqlc/action.yaml b/.github/actions/build-prqlc/action.yaml index 1db0a74146e1..b5aa98f7a811 100644 --- a/.github/actions/build-prqlc/action.yaml +++ b/.github/actions/build-prqlc/action.yaml @@ -75,7 +75,7 @@ runs: shell: bash if: runner.os != 'Windows' run: | - export ARTIFACT_NAME="prqlc-v${{ github.ref_type == 'tag' && github.ref_name || 0 }}-${{ matrix.target }}.tar.gz" + export ARTIFACT_NAME="prqlc-${{ github.ref_type == 'tag' && github.ref_name || 0 }}-${{ matrix.target }}.tar.gz" echo "ARTIFACT_NAME=${ARTIFACT_NAME}" >>"$GITHUB_ENV" TEMP_DIR=$(mktemp -d) cp prqlc/prqlc/README.md LICENSE "${TEMP_DIR}/" @@ -86,7 +86,7 @@ runs: shell: bash if: runner.os == 'Windows' run: | - export ARTIFACT_NAME="prqlc-v${{ github.ref_type == 'tag' && github.ref_name || 0 }}-${{ matrix.target }}.zip" + export ARTIFACT_NAME="prqlc-${{ github.ref_type == 'tag' && github.ref_name || 0 }}-${{ matrix.target }}.zip" echo "ARTIFACT_NAME=${ARTIFACT_NAME}" >>"$GITHUB_ENV" cd target/${{ matrix.target }}/${{ inputs.profile == 'release' && 'release' || 'debug' }} cp ../../../prqlc/prqlc/README.md .