Version 0.5.0; release notes files for release-mac.sh !345

merged merged by cmc on 2026-10-14 05:06 UTC · krz/orgstar:release-0.5.0 into main

6 files changed, +47 −29

Layout: unified · split

CONTRIBUTING.org +4
@@ -65,6 +65,10 @@ ORGSTAR_GATES=1 swift test -c release --filter GateTests # performance gates
6565keychain's Developer ID, notarizes a DMG, tags =v<version>=, uploads the DMG to the
6666gitbay release and updates the cask in krz/homebrew-tap.
6767
68Set =ORGSTAR_NOTES= to an HTML file of release notes for the appcast, which Sparkle's
69update window shows, and =ORGSTAR_RELEASE_NOTES= to a Markdown file for the gitbay
70release. Without them both get the one-line platform note.
71
6872* App Store header
6973
7074=ios/AppStore/header.html= renders the product page headers; the commands are in the
ios/Orgstar.xcodeproj/project.pbxproj +24 −24
@@ -700,7 +700,7 @@
700700 isa = XCBuildConfiguration;
701701 buildSettings = {
702702 CODE_SIGN_STYLE = Automatic;
703 CURRENT_PROJECT_VERSION = 8;
703 CURRENT_PROJECT_VERSION = 9;
704704 DEVELOPMENT_TEAM = ZCNAX3VL9D;
705705 GENERATE_INFOPLIST_FILE = NO;
706706 INFOPLIST_FILE = OrgstarQuickLook/Info.plist;
@@ -709,7 +709,7 @@
709709 "@executable_path/Frameworks",
710710 "@executable_path/../../Frameworks",
711711 );
712 MARKETING_VERSION = 0.4.2;
712 MARKETING_VERSION = 0.5.0;
713713 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.quicklook;
714714 PRODUCT_NAME = "$(TARGET_NAME)";
715715 SKIP_INSTALL = YES;
@@ -722,7 +722,7 @@
722722 buildSettings = {
723723 CODE_SIGN_ENTITLEMENTS = OrgstarShare/OrgstarShare.entitlements;
724724 CODE_SIGN_STYLE = Automatic;
725 CURRENT_PROJECT_VERSION = 8;
725 CURRENT_PROJECT_VERSION = 9;
726726 DEVELOPMENT_TEAM = ZCNAX3VL9D;
727727 GENERATE_INFOPLIST_FILE = NO;
728728 INFOPLIST_FILE = OrgstarShare/Info.plist;
@@ -731,7 +731,7 @@
731731 "@executable_path/Frameworks",
732732 "@executable_path/../../Frameworks",
733733 );
734 MARKETING_VERSION = 0.4.2;
734 MARKETING_VERSION = 0.5.0;
735735 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.share;
736736 PRODUCT_NAME = "$(TARGET_NAME)";
737737 SKIP_INSTALL = YES;
@@ -744,7 +744,7 @@
744744 buildSettings = {
745745 CODE_SIGN_ENTITLEMENTS = OrgstarShare/OrgstarShare.entitlements;
746746 CODE_SIGN_STYLE = Automatic;
747 CURRENT_PROJECT_VERSION = 8;
747 CURRENT_PROJECT_VERSION = 9;
748748 DEVELOPMENT_TEAM = ZCNAX3VL9D;
749749 GENERATE_INFOPLIST_FILE = NO;
750750 INFOPLIST_FILE = OrgstarShare/Info.plist;
@@ -753,7 +753,7 @@
753753 "@executable_path/Frameworks",
754754 "@executable_path/../../Frameworks",
755755 );
756 MARKETING_VERSION = 0.4.2;
756 MARKETING_VERSION = 0.5.0;
757757 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.share;
758758 PRODUCT_NAME = "$(TARGET_NAME)";
759759 SKIP_INSTALL = YES;
@@ -767,7 +767,7 @@
767767 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
768768 CODE_SIGN_ENTITLEMENTS = Orgstar/Orgstar.entitlements;
769769 CODE_SIGN_STYLE = Automatic;
770 CURRENT_PROJECT_VERSION = 8;
770 CURRENT_PROJECT_VERSION = 9;
771771 DEVELOPMENT_TEAM = ZCNAX3VL9D;
772772 GENERATE_INFOPLIST_FILE = NO;
773773 INFOPLIST_FILE = Orgstar/Info.plist;
@@ -777,7 +777,7 @@
777777 "$(inherited)",
778778 "@executable_path/Frameworks",
779779 );
780 MARKETING_VERSION = 0.4.2;
780 MARKETING_VERSION = 0.5.0;
781781 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar;
782782 PRODUCT_MODULE_NAME = OrgstarMobile;
783783 PRODUCT_NAME = Orgstar;
@@ -790,7 +790,7 @@
790790 buildSettings = {
791791 CODE_SIGN_ENTITLEMENTS = OrgstarWidgets/OrgstarWidgets.entitlements;
792792 CODE_SIGN_STYLE = Automatic;
793 CURRENT_PROJECT_VERSION = 8;
793 CURRENT_PROJECT_VERSION = 9;
794794 DEVELOPMENT_TEAM = ZCNAX3VL9D;
795795 GENERATE_INFOPLIST_FILE = NO;
796796 INFOPLIST_FILE = OrgstarWidgets/Info.plist;
@@ -800,7 +800,7 @@
800800 "@executable_path/Frameworks",
801801 "@executable_path/../../Frameworks",
802802 );
803 MARKETING_VERSION = 0.4.2;
803 MARKETING_VERSION = 0.5.0;
804804 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.widgets;
805805 PRODUCT_NAME = "$(TARGET_NAME)";
806806 SKIP_INSTALL = YES;
@@ -812,7 +812,7 @@
812812 isa = XCBuildConfiguration;
813813 buildSettings = {
814814 CODE_SIGN_STYLE = Automatic;
815 CURRENT_PROJECT_VERSION = 8;
815 CURRENT_PROJECT_VERSION = 9;
816816 DEVELOPMENT_TEAM = ZCNAX3VL9D;
817817 GENERATE_INFOPLIST_FILE = NO;
818818 INFOPLIST_FILE = OrgstarQuickLook/Info.plist;
@@ -821,7 +821,7 @@
821821 "@executable_path/Frameworks",
822822 "@executable_path/../../Frameworks",
823823 );
824 MARKETING_VERSION = 0.4.2;
824 MARKETING_VERSION = 0.5.0;
825825 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.quicklook;
826826 PRODUCT_NAME = "$(TARGET_NAME)";
827827 SKIP_INSTALL = YES;
@@ -852,7 +852,7 @@
852852 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
853853 CODE_SIGN_ENTITLEMENTS = Orgstar/Orgstar.entitlements;
854854 CODE_SIGN_STYLE = Automatic;
855 CURRENT_PROJECT_VERSION = 8;
855 CURRENT_PROJECT_VERSION = 9;
856856 DEVELOPMENT_TEAM = ZCNAX3VL9D;
857857 GENERATE_INFOPLIST_FILE = NO;
858858 INFOPLIST_FILE = Orgstar/Info.plist;
@@ -862,7 +862,7 @@
862862 "$(inherited)",
863863 "@executable_path/Frameworks",
864864 );
865 MARKETING_VERSION = 0.4.2;
865 MARKETING_VERSION = 0.5.0;
866866 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar;
867867 PRODUCT_MODULE_NAME = OrgstarMobile;
868868 PRODUCT_NAME = Orgstar;
@@ -875,7 +875,7 @@
875875 buildSettings = {
876876 CODE_SIGN_ENTITLEMENTS = OrgstarWidgets/OrgstarWidgets.entitlements;
877877 CODE_SIGN_STYLE = Automatic;
878 CURRENT_PROJECT_VERSION = 8;
878 CURRENT_PROJECT_VERSION = 9;
879879 DEVELOPMENT_TEAM = ZCNAX3VL9D;
880880 GENERATE_INFOPLIST_FILE = NO;
881881 INFOPLIST_FILE = OrgstarWidgets/Info.plist;
@@ -885,7 +885,7 @@
885885 "@executable_path/Frameworks",
886886 "@executable_path/../../Frameworks",
887887 );
888 MARKETING_VERSION = 0.4.2;
888 MARKETING_VERSION = 0.5.0;
889889 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.widgets;
890890 PRODUCT_NAME = "$(TARGET_NAME)";
891891 SKIP_INSTALL = YES;
@@ -919,7 +919,7 @@
919919 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
920920 CODE_SIGN_ENTITLEMENTS = OrgstarWatch/OrgstarWatch.entitlements;
921921 CODE_SIGN_STYLE = Automatic;
922 CURRENT_PROJECT_VERSION = 8;
922 CURRENT_PROJECT_VERSION = 9;
923923 DEVELOPMENT_TEAM = ZCNAX3VL9D;
924924 GENERATE_INFOPLIST_FILE = NO;
925925 INFOPLIST_FILE = OrgstarWatch/Info.plist;
@@ -927,7 +927,7 @@
927927 "$(inherited)",
928928 "@executable_path/Frameworks",
929929 );
930 MARKETING_VERSION = 0.4.2;
930 MARKETING_VERSION = 0.5.0;
931931 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.watchkitapp;
932932 PRODUCT_NAME = "$(TARGET_NAME)";
933933 SDKROOT = watchos;
@@ -944,7 +944,7 @@
944944 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
945945 CODE_SIGN_ENTITLEMENTS = OrgstarWatch/OrgstarWatch.entitlements;
946946 CODE_SIGN_STYLE = Automatic;
947 CURRENT_PROJECT_VERSION = 8;
947 CURRENT_PROJECT_VERSION = 9;
948948 DEVELOPMENT_TEAM = ZCNAX3VL9D;
949949 GENERATE_INFOPLIST_FILE = NO;
950950 INFOPLIST_FILE = OrgstarWatch/Info.plist;
@@ -952,7 +952,7 @@
952952 "$(inherited)",
953953 "@executable_path/Frameworks",
954954 );
955 MARKETING_VERSION = 0.4.2;
955 MARKETING_VERSION = 0.5.0;
956956 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.watchkitapp;
957957 PRODUCT_NAME = "$(TARGET_NAME)";
958958 SDKROOT = watchos;
@@ -969,7 +969,7 @@
969969 SKIP_INSTALL = YES;
970970 CODE_SIGN_ENTITLEMENTS = OrgstarWatchWidgets/OrgstarWatchWidgets.entitlements;
971971 CODE_SIGN_STYLE = Automatic;
972 CURRENT_PROJECT_VERSION = 8;
972 CURRENT_PROJECT_VERSION = 9;
973973 DEVELOPMENT_TEAM = ZCNAX3VL9D;
974974 GENERATE_INFOPLIST_FILE = NO;
975975 INFOPLIST_FILE = OrgstarWatchWidgets/Info.plist;
@@ -978,7 +978,7 @@
978978 "@executable_path/Frameworks",
979979 "@executable_path/../../Frameworks",
980980 );
981 MARKETING_VERSION = 0.4.2;
981 MARKETING_VERSION = 0.5.0;
982982 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.watchkitapp.widgets;
983983 PRODUCT_NAME = "$(TARGET_NAME)";
984984 SDKROOT = watchos;
@@ -994,7 +994,7 @@
994994 SKIP_INSTALL = YES;
995995 CODE_SIGN_ENTITLEMENTS = OrgstarWatchWidgets/OrgstarWatchWidgets.entitlements;
996996 CODE_SIGN_STYLE = Automatic;
997 CURRENT_PROJECT_VERSION = 8;
997 CURRENT_PROJECT_VERSION = 9;
998998 DEVELOPMENT_TEAM = ZCNAX3VL9D;
999999 GENERATE_INFOPLIST_FILE = NO;
10001000 INFOPLIST_FILE = OrgstarWatchWidgets/Info.plist;
@@ -1003,7 +1003,7 @@
10031003 "@executable_path/Frameworks",
10041004 "@executable_path/../../Frameworks",
10051005 );
1006 MARKETING_VERSION = 0.4.2;
1006 MARKETING_VERSION = 0.5.0;
10071007 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.watchkitapp.widgets;
10081008 PRODUCT_NAME = "$(TARGET_NAME)";
10091009 SDKROOT = watchos;
scripts/build-app.sh +1 −1
@@ -8,7 +8,7 @@
88set -eu
99
1010cd "$(dirname "$0")/.."
11version="${1:-0.4.2}"
11version="${1:-0.5.0}"
1212build="${2:-$version}"
1313sign="${ORGSTAR_SIGN:--}"
1414app=".build/app/orgstar.app"
scripts/build-ios-app.sh +1 −1
@@ -5,7 +5,7 @@
55set -eu
66
77cd "$(dirname "$0")/.."
8version="${1:-0.4.2}"
8version="${1:-0.5.0}"
99app=".build/ios-app/orgstar.app"
1010products=".build/ios/Build/Products/Debug-iphonesimulator"
1111
scripts/build-watch-app.sh +1 −1
@@ -7,7 +7,7 @@
77set -eu
88
99cd "$(dirname "$0")/.."
10version="${1:-0.4.2}"
10version="${1:-0.5.0}"
1111app=".build/watch-app/OrgstarWatch.app"
1212products=".build/watch/Build/Products/Debug-watchsimulator"
1313# The app group the complications read the agenda from, on the watch.
scripts/release-mac.sh +16 −2
@@ -6,6 +6,9 @@
66# ORGSTAR_NOTARY notarytool keychain profile (default: orgstar)
77# ORGSTAR_TAP the homebrew-tap checkout (default: ../homebrew-tap)
88# ORGSTAR_PUBLISH 0 builds and notarizes without tagging, uploading or touching the tap
9# ORGSTAR_NOTES an HTML file of release notes for the appcast entry, which Sparkle's
10# update window shows; the platform line is added after it
11# ORGSTAR_RELEASE_NOTES a Markdown file of release notes for the gitbay release
912# ORGSTAR_ED_PUBLIC_KEY the Sparkle public key (default: the one whose private half is in the
1013# release Mac's login keychain, from generate_keys); passed on to build-app.sh
1114#
@@ -24,6 +27,9 @@ sign="${ORGSTAR_SIGN:-$(security find-identity -v -p codesigning | sed -n 's/.*"
2427# The Sparkle public key; its private half is in the release Mac's login keychain (generate_keys).
2528export ORGSTAR_ED_PUBLIC_KEY="${ORGSTAR_ED_PUBLIC_KEY:-StvsRDaDoGd4S/G66l7XHAcd3KPlpJlu0Gsv9GemsSo=}"
2629notes="Universal (Apple silicon and Intel), macOS 26 or later. Notarized."
30for file in "${ORGSTAR_NOTES:-}" "${ORGSTAR_RELEASE_NOTES:-}"; do
31 [ -z "$file" ] || [ -f "$file" ] || { echo "No notes file $file." >&2; exit 1; }
32done
2733
2834if [ "$publish" != 0 ]; then
2935 [ -z "$(git status --porcelain)" ] || { echo "The working tree has changes." >&2; exit 1; }
@@ -52,7 +58,11 @@ xcrun stapler staple "$app"
5258spctl --assess --type open --context context:primary-signature -v "$dmg"
5359sha="$(shasum -a 256 "$dmg" | cut -d' ' -f1)"
5460echo "$dmg $sha"
55printf '%s\n' "$notes" > "$out/notes.txt"
61if [ -n "${ORGSTAR_NOTES:-}" ]; then
62 { cat "$ORGSTAR_NOTES"; printf '<p>%s</p>\n' "$notes"; } > "$out/notes.txt"
63else
64 printf '%s\n' "$notes" > "$out/notes.txt"
65fi
5666
5767if [ "$publish" = 0 ]; then
5868 # The appcast entry on a copy, so a dry run shows the signature.
@@ -63,7 +73,11 @@ fi
6373
6474git tag -s "$tag" -m "orgstar $version"
6575git push origin "$tag"
66gitbay release create krz/orgstar "$tag" --title "orgstar $version" --notes "$notes"
76if [ -n "${ORGSTAR_RELEASE_NOTES:-}" ]; then
77 { cat "$ORGSTAR_RELEASE_NOTES"; printf '\n%s\n' "$notes"; } | gitbay release create krz/orgstar "$tag" --title "orgstar $version" --file -
78else
79 gitbay release create krz/orgstar "$tag" --title "orgstar $version" --notes "$notes"
80fi
6781gitbay release asset add krz/orgstar "$tag" "orgstar-$version.dmg" < "$dmg"
6882
6983# The appcast goes in through a merge request, as every change to main does, after the DMG