Skip to content

Commit d6d97ba

Browse files
committed
Hopefully fix macos release
1 parent f0feb09 commit d6d97ba

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,19 @@ jobs:
8888
working-directory: ${{ env.WORKING_DIRECTORY }}
8989
run: |
9090
SPINUP_VERSION=$(cat ./common/.version | sed 's/^v//')
91-
sed -i "s/{{version}}/${SPINUP_VERSION}/g" wails.json
91+
sed -i.bak "s/{{version}}/${SPINUP_VERSION}/g" wails.json && rm wails.json.bak
9292
9393
wails build --platform ${{ matrix.build.platform }} -webview2 ${{ env.WEBVIEW2 }} -o ${{ matrix.build.name }}-${SPINUP_VERSION} -tags webkit2_40
9494
wails build --platform ${{ matrix.build.platform }} -webview2 ${{ env.WEBVIEW2 }} -o ${{ matrix.build.name }}-${SPINUP_VERSION}-ubuntu24.04 -tags webkit2_41
9595
shell: bash
9696
- name: Build macOs App
9797
if: runner.os == 'macOS'
9898
working-directory: ${{ env.WORKING_DIRECTORY }}
99-
run: wails build --platform ${{ matrix.build.platform }} -webview2 ${{ env.WEBVIEW2 }} -o ${{ matrix.build.name }}
99+
run: |
100+
SPINUP_VERSION=$(cat ./common/.version | sed 's/^v//')
101+
sed -i.bak "s/{{version}}/${SPINUP_VERSION}/g" wails.json && rm wails.json.bak
102+
103+
wails build --platform ${{ matrix.build.platform }} -webview2 ${{ env.WEBVIEW2 }} -o ${{ matrix.build.name }}-${SPINUP_VERSION}
100104
shell: bash
101105
- name: Build Windows App + Installer
102106
if: runner.os == 'Windows'
@@ -171,7 +175,7 @@ jobs:
171175
with:
172176
name: ${{ matrix.build.name }} (${{ runner.os }})
173177
path: |
174-
*/bin/*
178+
*/bin/
175179
*/bin/*.exe
176180
*\bin\*.exe
177181
*/spinup-*.deb
@@ -180,6 +184,6 @@ jobs:
180184
if: startsWith(github.ref, 'refs/tags/')
181185
with:
182186
files: |
183-
*/bin/*
187+
*/bin/
184188
*/bin/*.exe
185189
*/spinup-*.deb

0 commit comments

Comments
 (0)