From a8fd7a575aad20a1fb1938fe3b9e4825c4e5e013 Mon Sep 17 00:00:00 2001 From: Nimish Date: Sat, 14 Sep 2024 15:00:23 +0530 Subject: [PATCH] fix: fpm params --- .github/workflows/build_release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index ab77972a..1d821a56 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -89,14 +89,13 @@ jobs: run: echo "PHASE_CLI_VERSION=$(cat PHASE_CLI_VERSION.txt)" >> $GITHUB_ENV shell: bash - # Build DEB and RPM packages for Linux - run: | sudo apt-get update sudo apt-get install -y ruby-dev rubygems build-essential sudo gem install --no-document fpm - fpm -s dir -t deb -n phase -v $PHASE_CLI_VERSION dist/phase/=usr/bin/ - fpm -s dir -t rpm -n phase -v $PHASE_CLI_VERSION dist/phase/=usr/bin/ + fpm -s dir -t deb -n phase -v ${{ env.PHASE_CLI_VERSION }} dist/phase/=usr/bin/ + fpm -s dir -t rpm -n phase -v ${{ env.PHASE_CLI_VERSION }} dist/phase/=usr/bin/ if: matrix.os == 'ubuntu-20.04' shell: bash