Skip to content

Commit

Permalink
Put version in name in correct place.
Browse files Browse the repository at this point in the history
  • Loading branch information
luciansmith committed May 21, 2024
1 parent 01b3888 commit 3cfa916
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -456,13 +456,13 @@ jobs:
artifacts_name=""
if [ "${{ matrix.platform.os_type }}" == 'windows' ]; then
compiler_version=$(ls "C:\Program Files\Microsoft Visual Studio")
echo "artifacts_name=roadrunner-${{ matrix.platform.os_type }}-$roadrunner_version-msvc$compiler_version-${host_architecture}-${{ matrix.platform.build_type }}" >> $GITHUB_ENV
echo "artifacts_name=roadrunner-$roadrunner_version-${{ matrix.platform.os_type }}-msvc$compiler_version-${host_architecture}-${{ matrix.platform.build_type }}" >> $GITHUB_ENV
elif [ "${{ matrix.platform.os_type }}" == 'macos' ]; then
os_version=$(sw_vers -productVersion | cut -d '.' -f 1)
echo "artifacts_name=roadrunner-${{ matrix.platform.os_type }}-$roadrunner_version-$os_version-${host_architecture}-${{ matrix.platform.build_type }}" >> $GITHUB_ENV
echo "artifacts_name=roadrunner-$roadrunner_version-${{ matrix.platform.os_type }}-$os_version-${host_architecture}-${{ matrix.platform.build_type }}" >> $GITHUB_ENV
elif [ "${{ matrix.platform.os_type }}" == 'ubuntu' ]; then
os_version=$(lsb_release -rs | cut -d '.' -f 1)
echo "artifacts_name=roadrunner-${{ matrix.platform.os_type }}-$roadrunner_version-$os_version-${host_architecture}-${{ matrix.platform.build_type }}" >> $GITHUB_ENV
echo "artifacts_name=roadrunner-$roadrunner_version-${{ matrix.platform.os_type }}-$os_version-${host_architecture}-${{ matrix.platform.build_type }}" >> $GITHUB_ENV
elif [ "${{ matrix.platform.os_type }}" == 'manylinux' ]; then
os_name="${{ matrix.platform.name }}"
os_name_without_build_type="${os_name%%-*}"
Expand Down

0 comments on commit 3cfa916

Please sign in to comment.