Skip to content

Commit abf21a8

Browse files
authored
fixes (#66)
1 parent 05590fb commit abf21a8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
git push -u origin release/$VERSION
5959
env:
6060
VERSION: ${{ steps.extract_version.outputs.version }}
61+
REPO: ${{ github.repository }}
6162

6263
- name: Upload artifacts
6364
uses: actions/upload-artifact@v4

.scripts/package.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,10 +298,10 @@ create_scratch
298298
echo "Creating source files..."
299299
generate_sources "../$sources"
300300
# Create test package using local binaries and make sure it builds
301-
generate_swift_package "../$package" "$home/package_template.swift" "../$distribution" $xcframeworks_repo $distribution
301+
generate_swift_package "../$package" "$home/package_template.swift" "../$distribution" $REPO $distribution
302302
(cd ..; swift build) # TODO: create tests and replace this line with `(cd ..; swift test)`
303303
# Create release package using remote binaries and make sure the Package.swift file is parseable
304-
generate_swift_package "../$package" "$home/package_template.swift" "../$distribution" $xcframeworks_repo ''
304+
generate_swift_package "../$package" "$home/package_template.swift" "../$distribution" $REPO ''
305305
)
306306

307307
echo "Moving files to repo..."; cd ..

0 commit comments

Comments
 (0)