Skip to content

Commit e9bdcf4

Browse files
committed
Add documentation to release.yml and fix Apple XCFramework checksum file name
1 parent 9bf14fb commit e9bdcf4

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,31 @@
11
name: Release
22

3+
# This workflow runs platform-specific release workflows, collects platform-specific artifacts
4+
# and creates a GitHub Release with all the artifacts attached.
5+
36
on:
47
push:
58
tags:
6-
- '[0-9]+.[0-9]+.[0-9]+'
9+
- '[0-9]+.[0-9]+.[0-9]+' # run on push to tags matching X.Y.Z
710

811
jobs:
12+
# Run the Apple release workflow
913
release_apple:
1014
uses: ./.github/workflows/release_apple.yml
1115
with:
1216
tag: ${{ github.ref_name }}
1317

18+
# Add other platform-specific release jobs here as they are added.
19+
# release_windows:
20+
# uses: ./.github/workflows/release_windows.yml
21+
# with:
22+
# tag: ${{ github.ref_name }}
23+
1424
release:
1525

1626
runs-on: ubuntu-latest
27+
# Wait for the Apple release workflow to complete
28+
# Add more platform-specific jobs here as they are added.
1729
needs: release_apple
1830

1931
steps:

scripts/build_apple.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,5 @@ ditto -c -k --keepParent "${DIST_DIR}/${NAME}.xcframework" "${DIST_DIR}/${NAME}.
9494
echo "✅ Zipped ${DIST_DIR}/${NAME}.xcframework.zip"
9595

9696
checksum="$(swift package compute-checksum "${DIST_DIR}/${NAME}.xcframework.zip")"
97-
echo "$checksum" > "${DIST_DIR}/${NAME}.xcframework.zip.checksum"
97+
echo "$checksum" > "${DIST_DIR}/${NAME}.xcframework.zip.checksum.txt"
9898
echo "Checksum: ${checksum}"

0 commit comments

Comments
 (0)