Skip to content

Commit

Permalink
Try different string interp syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwellmattryan committed Nov 18, 2024
1 parent 2208bd8 commit 5a5d1d1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/reusable.package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
if: ${{ runner.os == 'macOS' }}
run: |
PKGPROJ_FILE="packaging/$PLUGIN_NAME.pkgproj"
sed.bak -i "s/{{PLUGIN_VERSION}}/$PLUGIN_VERSION/g" "$PKGPROJ_FILE"
sed -i.bak "s/{{PLUGIN_VERSION}}/$PLUGIN_VERSION/g" "$PKGPROJ_FILE"
packagesbuild "$PKGPROJ_FILE"
- name: Sign Installer (MacOS)
Expand Down Expand Up @@ -135,10 +135,10 @@ jobs:
- name: Build Installer (Windows)
if: ${{ runner.os == 'Windows' }}
run: |
ISS_FILE="packaging/$PLUGIN_NAME.iss"
sed -i.bak "s/{{PLUGIN_NAME}}/$PLUGIN_NAME/g" "$ISS_FILE"
sed -i.bak "s/{{PLUGIN_VERSION}}/$PLUGIN_VERSION/g" "$ISS_FILE"
sed -i.bak "s/{{COMPANY_NAME}}/$COMPANY_NAME/g" "$ISS_FILE"
ISS_FILE="packaging/${{ env.PLUGIN_NAME }}.iss"
sed -i.bak "s/{{PLUGIN_NAME}}/${{ env.PLUGIN_NAME }}/g" "$ISS_FILE"
sed -i.bak "s/{{PLUGIN_VERSION}}/${{ env.PLUGIN_VERSION }}/g" "$ISS_FILE"
sed -i.bak "s/{{COMPANY_NAME}}/${{ env.COMPANY_NAMY }}/g" "$ISS_FILE"
iscc "packaging\${{ env.PLUGIN_NAME }}.iss"
mv "packaging\Output\${{ env.INSTALLER_NAME }}.exe" .
Expand Down

0 comments on commit 5a5d1d1

Please sign in to comment.