Skip to content

Commit

Permalink
Consolidate deb templates
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Crane <[email protected]>
  • Loading branch information
marcus-crane committed Dec 5, 2023
1 parent e5d11d1 commit 0593287
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 23 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,11 @@ jobs:
- name: Package up deb file
shell: bash
run: |
mv build/bin/october build/linux/october_0.0.0_amd64/usr/local/bin/
mv build/bin/october build/linux/october_0.0.0_ARCH/usr/local/bin/
cd build/linux
mv october_0.0.0_amd64 "october_${{ steps.normalise_version.outputs.version }}_amd64"
sed -i 's/0.0.0/${{ steps.normalise_version.outputs.version }}/g' "october_${{ steps.normalise_version.outputs.version }}_amd64/DEBIAN/control"
sed -i 's/0.0.0/${{ steps.normalise_version.outputs.version }}/g' "october_0.0.0_ARCH/DEBIAN/control"
sed -i 's/ARCH/amd64/g' "october_0.0.0_ARCH/DEBIAN/control"
mv october_0.0.0_ARCH "october_${{ steps.normalise_version.outputs.version }}_amd64"
dpkg-deb --build "october_${{ steps.normalise_version.outputs.version }}_amd64"
- name: Get latest release from API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: october
Version: 0.0.0
Section: base
Priority: optional
Architecture: amd64
Architecture: ARCH
Depends: libgtk-3-dev, libwebkit2gtk-4.0-dev
Maintainer: Marcus Crane <[email protected]>
Homepage: https://october.utf9k.net
Expand Down
9 changes: 0 additions & 9 deletions build/linux/october_0.0.0_arm64/DEBIAN/control

This file was deleted.

Empty file.

This file was deleted.

Binary file not shown.

0 comments on commit 0593287

Please sign in to comment.