Skip to content

Commit

Permalink
fix: fpm params
Browse files Browse the repository at this point in the history
  • Loading branch information
nimish-ks committed Sep 14, 2024
1 parent 0496168 commit a8fd7a5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8fd7a5

Please sign in to comment.