Skip to content

Commit

Permalink
Updating manifest path
Browse files Browse the repository at this point in the history
  • Loading branch information
csjones committed Sep 10, 2023
1 parent dd063c0 commit c0554b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-artifact-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ jobs:
- name: Update Package.swift
run: |
echo ${{ hashFiles( env.ARTIFACT_NAME ) }}
sed -i '' 's/checksum: ".*"/checksum: "${{ hashFiles( env.ARTIFACT_NAME ) }}"/g' Package.swift
sed -i '' 's/\(url: ".*\/\)\([0-9]\+\.[0-9]\+\.[0-9]\+\)\(\/.*"\)/\1${{ env.PLUGIN_VERSION }}\3/g' Package.swift
sed -i '' 's/checksum: ".*"/checksum: "${{ hashFiles( env.ARTIFACT_NAME ) }}"/g' ${{ inputs.binary_name }}/Package.swift
sed -i '' 's/\(url: ".*\/\)\([0-9]\+\.[0-9]\+\.[0-9]\+\)\(\/.*"\)/\1${{ env.PLUGIN_VERSION }}\3/g' ${{ inputs.binary_name }}/Package.swift
- name: Push Changes to GitHub
run: |
git show
Expand Down

0 comments on commit c0554b0

Please sign in to comment.