Skip to content

Commit

Permalink
Fix release script which did not work because I forgot FORCE git add … (
Browse files Browse the repository at this point in the history
#11)

Co-authored-by: Alexander Cyon <[email protected]>
  • Loading branch information
CyonAlexRDX and Sajjon authored Feb 21, 2024
1 parent eb0bc7d commit 632f3c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/ios/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ XCFRAME_ZIP_PATH=`echo "$OUTPUT_OF_BUILD" | cut -d ";" -f 2` || exit $?
echo "🚢 CHECKSUM: $CHECKSUM"
echo "🚢 XCFRAME_ZIP_PATH: $XCFRAME_ZIP_PATH"

GIT_ADD_CMD="git add Package.swift apple/Sources/UniFFI/Sargon.swift"
# We have .gitigored Sargon.swift because we dont need it in git history, but we
# need it for this release, so we must FORCE add it (since it is ignored).
GIT_ADD_CMD="git add --force Package.swift apple/Sources/UniFFI/Sargon.swift"
echo "🚢 Staging (potentially) changed files with: $GIT_ADD_CMD"
eval $GIT_ADD_CMD

Expand Down

0 comments on commit 632f3c4

Please sign in to comment.