From 99e79527c67ef36a8743e82642203fe12ae422a2 Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Tue, 2 Jan 2024 08:39:08 +1300 Subject: [PATCH] Updates to release files --- packaging/RELEASE.md | 6 ++++++ packaging/files/LICENSE.txt | 1 + packaging/files/README.macos.txt | 1 + packaging/files/README.txt | 3 +++ packaging/files/filter.rhai.example | 1 + packaging/macos/build_macos.sh | 2 +- packaging/macos/build_macos_intel.sh | 2 +- 7 files changed, 14 insertions(+), 2 deletions(-) create mode 120000 packaging/files/LICENSE.txt create mode 120000 packaging/files/README.macos.txt create mode 100644 packaging/files/README.txt create mode 120000 packaging/files/filter.rhai.example diff --git a/packaging/RELEASE.md b/packaging/RELEASE.md index 8bea25dd5..c794c901e 100644 --- a/packaging/RELEASE.md +++ b/packaging/RELEASE.md @@ -61,6 +61,12 @@ 9. Bundle the files, create SHA256 hashes + files in files/ + + create changelog.txt like this: + + git log --oneline v0.8.2..v0.9.0 > changelog.txt + 10. Upload release to github 11. Update the AUR packages diff --git a/packaging/files/LICENSE.txt b/packaging/files/LICENSE.txt new file mode 120000 index 000000000..1ef648f64 --- /dev/null +++ b/packaging/files/LICENSE.txt @@ -0,0 +1 @@ +../../LICENSE.txt \ No newline at end of file diff --git a/packaging/files/README.macos.txt b/packaging/files/README.macos.txt new file mode 120000 index 000000000..36d16dc53 --- /dev/null +++ b/packaging/files/README.macos.txt @@ -0,0 +1 @@ +../macos/README.macos.txt \ No newline at end of file diff --git a/packaging/files/README.txt b/packaging/files/README.txt new file mode 100644 index 000000000..feab21cd0 --- /dev/null +++ b/packaging/files/README.txt @@ -0,0 +1,3 @@ +Gossip is a nostr client for desktop + +The newest version, as well as a better README file, is available at https://github.com/mikedilger/gossip diff --git a/packaging/files/filter.rhai.example b/packaging/files/filter.rhai.example new file mode 120000 index 000000000..6d99c35eb --- /dev/null +++ b/packaging/files/filter.rhai.example @@ -0,0 +1 @@ +../../filter.rhai.example \ No newline at end of file diff --git a/packaging/macos/build_macos.sh b/packaging/macos/build_macos.sh index b8c87aa84..46552012d 100755 --- a/packaging/macos/build_macos.sh +++ b/packaging/macos/build_macos.sh @@ -13,7 +13,7 @@ export LDFLAGS="-L${HOMEBREW_PREFIX}/lib -Wl,-rpath,${HOMEBREW_PREFIX}/lib${LDFL cargo build --release --features=lang-cjk -VERSION=$(cat ../../Cargo.toml | grep ^version | awk -F= '{print $2}' | awk -F\" '{print $2}') +VERSION=$(cat ../../gossip-bin/Cargo.toml | grep ^version | awk -F= '{print $2}' | awk -F\" '{print $2}') set +e echo $VERSION | grep -s unstable if [ $? -eq 0 ] ; then diff --git a/packaging/macos/build_macos_intel.sh b/packaging/macos/build_macos_intel.sh index a05408584..f8156f8f0 100755 --- a/packaging/macos/build_macos_intel.sh +++ b/packaging/macos/build_macos_intel.sh @@ -13,7 +13,7 @@ export LDFLAGS="-L${HOMEBREW_PREFIX}/lib -Wl,-rpath,${HOMEBREW_PREFIX}/lib${LDFL cargo build --target=x86_64-apple-darwin --release --features=lang-cjk -VERSION=$(cat ../../Cargo.toml | grep ^version | awk -F= '{print $2}' | awk -F\" '{print $2}') +VERSION=$(cat ../../gossip-bin/Cargo.toml | grep ^version | awk -F= '{print $2}' | awk -F\" '{print $2}') set +e echo $VERSION | grep -s unstable if [ $? -eq 0 ] ; then