From a45d97bb13908eddb4d3e32c316dfb084d291537 Mon Sep 17 00:00:00 2001 From: lnee94 <73306958+lnee94@users.noreply.github.com> Date: Tue, 21 Jan 2025 21:50:24 -0500 Subject: [PATCH 1/2] Add snap packaging support --- snap/snapcraft.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 snap/snapcraft.yaml diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 0000000..cd0e260 --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,23 @@ +name: fowl +base: core24 +version: '24.12.0' #Update this to the version of the relese +summary: Get TCP streams from one computer to another, safely. +description: | + The base protocol below Magic Wormhole provides a powerful account-less, peer-to-peer networking solution + fowl helps you use this power immediately with existing programs + +grade: stable +confinement: strict + +parts: + fowl: + source: . + plugin: python + +apps: + fowl: + command: bin/fowl + plugs: [network, network-bind] + fowld: + command: bin/fowld + plugs: [network, network-bind] From 6aa34667fe37416b728adf04ad64c96c72d74225 Mon Sep 17 00:00:00 2001 From: lnee94 <73306958+lnee94@users.noreply.github.com> Date: Wed, 22 Jan 2025 22:40:11 -0500 Subject: [PATCH 2/2] Update Makefile --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 971fec0..da5aca0 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,8 @@ test: #release: pin release: python update-version.py + bash -c 'temp="$(cat snap/snapcraft.yaml | grep -v version | sed "3iversion: \"$(git tag --sort -v:refname | head -1)\"")" ; echo "$temp" > snap/snapcraft.yaml' + hatch version `git tag --sort -v:refname | head -1` hatch version `git tag --sort -v:refname | head -1` git add -u git commit -m "update version"