Skip to content

Commit

Permalink
feat: fix linux packaging
Browse files Browse the repository at this point in the history
fix: linux build job

fix: linux build job

fix: linux build job

fix: linux build job
  • Loading branch information
matiasdaloia committed Jan 27, 2025
1 parent 6c49b2e commit 5f23956
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,32 +253,31 @@ jobs:
- name: Create packages
run: |
APP_VERSION=$(git tag --sort=-version:refname | head -n 1)
APP_VERSION=${APP_VERSION#v} # Remove 'v' prefix if present
# Create .deb package
fpm -s dir -t deb \
-p "dist/scanoss-cc_${APP_VERSION}_amd64.deb" \
fpm -C staging -s dir -t deb \
--name scanoss-cc \
--version ${APP_VERSION} \
--version "${APP_VERSION}" \
--architecture amd64 \
--description "SCANOSS Code Compare - GUI and CLI tool for quickly visualizing undeclared open source findings" \
--url "https://github.com/scanoss/scanoss.cc" \
--maintainer "SCANOSS" \
--depends libgtk-3-0 \
--depends libwebkit2gtk-4.0-37 \
-C staging .
--package "dist/scanoss-cc_${APP_VERSION}_amd64.deb"
# Create .rpm package
fpm -s dir -t rpm \
-p "dist/scanoss-cc-${APP_VERSION}.x86_64.rpm" \
fpm -C staging -s dir -t rpm \
--name scanoss-cc \
--version ${APP_VERSION} \
--version "${APP_VERSION}" \
--architecture x86_64 \
--description "SCANOSS Code Compare - GUI and CLI tool for quickly visualizing undeclared open source findings" \
--url "https://github.com/scanoss/scanoss.cc" \
--maintainer "SCANOSS" \
--depends gtk3 \
--depends webkit2gtk3 \
-C staging .
--package "dist/scanoss-cc-${APP_VERSION}.x86_64.rpm"
- name: Upload to packagecloud.io
env:
Expand Down

0 comments on commit 5f23956

Please sign in to comment.