Skip to content

Commit

Permalink
- Bump bundled Syncthing to v1.29.2
Browse files Browse the repository at this point in the history
- (chore) Improve Syncthing bundle scripts
  • Loading branch information
xor-gate committed Jan 15, 2025
1 parent f063741 commit 902f327
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ release-dmg:
xcodebuild -workspace "syncthing.xcworkspace" -derivedDataPath $(PWD) -configuration Release -scheme Pods-syncthing
xcodebuild -workspace "syncthing.xcworkspace" -derivedDataPath $(PWD) -configuration Release -scheme syncthing-dmg
release-update:
./cmd/update-release.py
source ./venv/bin/activate && ./cmd/update-release.py
clean:
rm -Rf Build Index Logs ModuleCache.noindex info.plist
4 changes: 4 additions & 0 deletions cmd/update-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,7 @@
if line.startswith(linePrefix):
line = '{}"{}"\n'.format(linePrefix, str(version))
sys.stdout.write(line)

print(f"Found latest tag from github: {tag_name}")
print(f"CFBundleShortVersionString={CFBundleShortVersionString}")
print(f"CFBundleVersion={CFBundleVersion}")
4 changes: 2 additions & 2 deletions syncthing/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.28.1-1</string>
<string>1.29.2-1</string>
<key>CFBundleVersion</key>
<string>102800101</string>
<string>102900201</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion syncthing/Scripts/syncthing-resource.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -euo pipefail

# Download and unpack syncthing into ${PRODUCT_NAME}.app/Contents/Resources
SYNCTHING_VERSION="1.28.1"
SYNCTHING_VERSION="1.29.2"
SYNCTHING_DIST_URL="https://github.com/syncthing/syncthing/releases/download"
SYNCTHING_TARBALL_URL="${SYNCTHING_DIST_URL}/v${SYNCTHING_VERSION}/syncthing-macos-universal-v${SYNCTHING_VERSION}.zip"

Expand Down

0 comments on commit 902f327

Please sign in to comment.