Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #66

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
git push -u origin release/$VERSION
env:
VERSION: ${{ steps.extract_version.outputs.version }}
REPO: ${{ github.repository }}

- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions .scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,10 @@ create_scratch
echo "Creating source files..."
generate_sources "../$sources"
# Create test package using local binaries and make sure it builds
generate_swift_package "../$package" "$home/package_template.swift" "../$distribution" $xcframeworks_repo $distribution
generate_swift_package "../$package" "$home/package_template.swift" "../$distribution" $REPO $distribution
(cd ..; swift build) # TODO: create tests and replace this line with `(cd ..; swift test)`
# Create release package using remote binaries and make sure the Package.swift file is parseable
generate_swift_package "../$package" "$home/package_template.swift" "../$distribution" $xcframeworks_repo ''
generate_swift_package "../$package" "$home/package_template.swift" "../$distribution" $REPO ''
)

echo "Moving files to repo..."; cd ..
Expand Down