diff --git a/.github/workflows/release-linux.yaml b/.github/workflows/release-linux.yaml index 425e4d95..971f7538 100644 --- a/.github/workflows/release-linux.yaml +++ b/.github/workflows/release-linux.yaml @@ -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 diff --git a/build/linux/october_0.0.0_amd64/DEBIAN/control b/build/linux/october_0.0.0_ARCH/DEBIAN/control similarity index 92% rename from build/linux/october_0.0.0_amd64/DEBIAN/control rename to build/linux/october_0.0.0_ARCH/DEBIAN/control index 93b48ede..2d19c891 100644 --- a/build/linux/october_0.0.0_amd64/DEBIAN/control +++ b/build/linux/october_0.0.0_ARCH/DEBIAN/control @@ -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 Homepage: https://october.utf9k.net diff --git a/build/linux/october_0.0.0_amd64/usr/local/bin/.gitkeep b/build/linux/october_0.0.0_ARCH/usr/local/bin/.gitkeep similarity index 100% rename from build/linux/october_0.0.0_amd64/usr/local/bin/.gitkeep rename to build/linux/october_0.0.0_ARCH/usr/local/bin/.gitkeep diff --git a/build/linux/october_0.0.0_amd64/usr/share/applications/october.desktop b/build/linux/october_0.0.0_ARCH/usr/share/applications/october.desktop similarity index 100% rename from build/linux/october_0.0.0_amd64/usr/share/applications/october.desktop rename to build/linux/october_0.0.0_ARCH/usr/share/applications/october.desktop diff --git a/build/linux/october_0.0.0_amd64/usr/share/icons/hicolor/512x512/apps/october.png b/build/linux/october_0.0.0_ARCH/usr/share/icons/hicolor/512x512/apps/october.png similarity index 100% rename from build/linux/october_0.0.0_amd64/usr/share/icons/hicolor/512x512/apps/october.png rename to build/linux/october_0.0.0_ARCH/usr/share/icons/hicolor/512x512/apps/october.png diff --git a/build/linux/october_0.0.0_arm64/DEBIAN/control b/build/linux/october_0.0.0_arm64/DEBIAN/control deleted file mode 100644 index e2c88427..00000000 --- a/build/linux/october_0.0.0_arm64/DEBIAN/control +++ /dev/null @@ -1,9 +0,0 @@ -Package: october -Version: 0.0.0 -Section: base -Priority: optional -Architecture: arm64 -Depends: libgtk-3-dev, libwebkit2gtk-4.0-dev -Maintainer: Marcus Crane -Homepage: https://october.utf9k.net -Description: A tool for syncing your Kobo highlights with Readwise diff --git a/build/linux/october_0.0.0_arm64/usr/local/bin/.gitkeep b/build/linux/october_0.0.0_arm64/usr/local/bin/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/build/linux/october_0.0.0_arm64/usr/share/applications/october.desktop b/build/linux/october_0.0.0_arm64/usr/share/applications/october.desktop deleted file mode 100644 index fffa1ddd..00000000 --- a/build/linux/october_0.0.0_arm64/usr/share/applications/october.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Name=October -Exec=/usr/local/bin/october %U -Terminal=false -Type=Application -Icon=october -StartupWMClass=october -Comment=A tool for syncing Kobo highlights to Readwise -MimeType=x-scheme-handler/october; -Categories=Office; diff --git a/build/linux/october_0.0.0_arm64/usr/share/icons/hicolor/512x512/apps/october.png b/build/linux/october_0.0.0_arm64/usr/share/icons/hicolor/512x512/apps/october.png deleted file mode 100644 index 9abcefe9..00000000 Binary files a/build/linux/october_0.0.0_arm64/usr/share/icons/hicolor/512x512/apps/october.png and /dev/null differ