From 8eea67c50df3260f7d721982e6a74f73f5be240a Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Wed, 19 Oct 2022 17:56:16 +0200 Subject: [PATCH] fix(ci): strip `-insider` from version [skip ci] --- .github/workflows/insider-linux.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/insider-linux.yml b/.github/workflows/insider-linux.yml index 1200529..22fc0c8 100644 --- a/.github/workflows/insider-linux.yml +++ b/.github/workflows/insider-linux.yml @@ -131,11 +131,16 @@ jobs: if: needs.build.outputs.SHOULD_DEPLOY == 'yes' steps: + - name: Get version + env: + RELEASE_VERSION: ${{ needs.build.outputs.RELEASE_VERSION }} + run: echo "PACKAGE_VERSION=${RELEASE_VERSION/-*/}" >> "${GITHUB_ENV}" + - name: Publish ${{ matrix.package_name }} uses: zokugun/github-actions-aur-releaser@v1 with: package_name: ${{ matrix.package_name }} - package_version: ${{ needs.build.outputs.RELEASE_VERSION }} + package_version: ${{ env.PACKAGE_VERSION }} aur_private_key: ${{ secrets.AUR_PRIVATE_KEY }} aur_username: ${{ secrets.AUR_USERNAME }} aur_email: ${{ secrets.AUR_EMAIL }}