Skip to content

Commit adc7e30

Browse files
committed
(build) Fix github workflow and bump v2.0.16 packaging from upstream
1 parent b016b5f commit adc7e30

4 files changed

Lines changed: 23 additions & 27 deletions

File tree

.github/workflows/build-syncthing-macos.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ on:
1414
# that lead up to code being packaged and signed.
1515

1616
jobs:
17-
# build-debug:
18-
# name: Build debug
19-
# if: github.event_name == 'push' && github.ref != 'refs/heads/release' # Debug not necessary on release branch (develop is intermediate branch)
20-
# runs-on: macos-13
21-
# steps:
22-
# - uses: actions/checkout@v4
23-
# with:
24-
# fetch-depth: 0
25-
#
26-
# - name: Build debug target
27-
# run: make debug
28-
#
29-
# - name: Prepare debug build for artifact
30-
# run: make debug-dist
31-
#
32-
# - name: Archive artifacts
33-
# uses: actions/upload-artifact@v4
34-
# with:
35-
# name: syncthing-macos-debug
36-
# path: Build/Products/Debug/dist
17+
build-debug:
18+
name: Build debug
19+
if: github.event_name == 'pull_request' && github.ref != 'refs/heads/v2' # Debug not necessary on release branch (develop is intermediate branch)
20+
runs-on: macos-15
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
26+
- name: Build debug target
27+
run: make debug
28+
29+
- name: Prepare debug build for artifact
30+
run: make debug-dist
31+
32+
- name: Archive artifacts
33+
uses: actions/upload-artifact@v4
34+
with:
35+
name: syncthing-macos-debug
36+
path: Build/Products/Debug/dist
3737

3838
build-release:
3939
name: Build release

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
all: debug
22
debug:
3-
xcodebuild -workspace "syncthing.xcworkspace" -derivedDataPath $(PWD) -configuration Debug -scheme Pods-syncthing
43
xcodebuild -workspace "syncthing.xcworkspace" -derivedDataPath $(PWD) -configuration Debug -scheme syncthing
54
debug-dist:
65
mkdir -p Build/Products/Debug/dist
76
cp -r Build/Products/Debug/Syncthing.app Build/Products/Debug/dist
87
debug-dmg:
9-
xcodebuild -workspace "syncthing.xcworkspace" -derivedDataPath $(PWD) -configuration Debug -scheme Pods-syncthing
108
xcodebuild -workspace "syncthing.xcworkspace" -derivedDataPath $(PWD) -configuration Debug -scheme syncthing-dmg
119
release:
12-
xcodebuild -workspace "syncthing.xcworkspace" -derivedDataPath $(PWD) -configuration Release -scheme Pods-syncthing
1310
xcodebuild -workspace "syncthing.xcworkspace" -derivedDataPath $(PWD) -configuration Release -scheme syncthing
1411
release-dmg:
15-
xcodebuild -workspace "syncthing.xcworkspace" -derivedDataPath $(PWD) -configuration Release -scheme Pods-syncthing
1612
xcodebuild -workspace "syncthing.xcworkspace" -derivedDataPath $(PWD) -configuration Release -scheme syncthing-dmg
1713
update-release:
1814
$(MAKE) -C cmd/update-release run

syncthing/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
<key>CFBundlePackageType</key>
2525
<string>APPL</string>
2626
<key>CFBundleShortVersionString</key>
27-
<string>2.0.14-1</string>
27+
<string>2.0.16-1</string>
2828
<key>CFBundleVersion</key>
29-
<string>200001401</string>
29+
<string>200001601</string>
3030
<key>LSApplicationCategoryType</key>
3131
<string>public.app-category.utilities</string>
3232
<key>LSMinimumSystemVersion</key>

syncthing/Scripts/syncthing-resource.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -euo pipefail
33

44
# Download and unpack syncthing into ${PRODUCT_NAME}.app/Contents/Resources
5-
SYNCTHING_VERSION="2.0.14"
5+
SYNCTHING_VERSION="2.0.16"
66
SYNCTHING_DIST_URL="https://github.com/syncthing/syncthing/releases/download"
77
SYNCTHING_TARBALL_URL="${SYNCTHING_DIST_URL}/v${SYNCTHING_VERSION}/syncthing-macos-universal-v${SYNCTHING_VERSION}.zip"
88

0 commit comments

Comments
 (0)