Skip to content

Commit 4edbfdc

Browse files
committed
only os number
1 parent 21acca5 commit 4edbfdc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
run: |
7575
echo "CI_TAG=$(ci/getTag.sh)" >> "$GITHUB_ENV"
7676
echo "CI_OS_NAME=linux" >> "$GITHUB_ENV"
77+
echo "CI_OS_VERSION=$(echo "${{ matrix.os }}" | sed 's/ubuntu-//' | sed 's/\.04//')" >> "$GITHUB_ENV"
7778
7879
SOLANA_VERSION="$(./ci/solana-version.sh)"
7980
echo "SOLANA_VERSION=$SOLANA_VERSION" >> "$GITHUB_ENV"
@@ -104,8 +105,8 @@ jobs:
104105
105106
- name: Add os version to release name
106107
run: |
107-
mv ${{ env.GEYSER_PLUGIN_NAME }}-release-x86_64-unknown-linux-gnu.tar.bz2 ${{ env.GEYSER_PLUGIN_NAME }}-release-${{ matrix.os }}-x86_64-unknown-linux-gnu.tar.bz2
108-
mv ${{ env.GEYSER_PLUGIN_NAME }}-release-x86_64-unknown-linux-gnu.yml ${{ env.GEYSER_PLUGIN_NAME }}-release-${{ matrix.os }}-x86_64-unknown-linux-gnu.yml
108+
mv ${{ env.GEYSER_PLUGIN_NAME }}-release-x86_64-unknown-linux-gnu.tar.bz2 ${{ env.GEYSER_PLUGIN_NAME }}-release${{ env.CI_OS_VERSION }}-x86_64-unknown-linux-gnu.tar.bz2
109+
mv ${{ env.GEYSER_PLUGIN_NAME }}-release-x86_64-unknown-linux-gnu.yml ${{ env.GEYSER_PLUGIN_NAME }}-release${{ env.CI_OS_VERSION }}-x86_64-unknown-linux-gnu.yml
109110
110111
- name: Release
111112
if: startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)