Skip to content

Commit

Permalink
Fix OS issue
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwellmattryan committed Nov 18, 2024
1 parent 8eb8ef1 commit 2208bd8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/reusable.package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ jobs:
- name: Build Installer (MacOS)
if: ${{ runner.os == 'macOS' }}
run: |
PKGPROJ_FILE="packaging/${{ env.PLUGIN_NAME }}.pkgproj"
sed -i "s/{{PLUGIN_VERSION}}/${{ env.PLUGIN_VERSION }}/g" "$PKGPROJ_FILE"
PKGPROJ_FILE="packaging/$PLUGIN_NAME.pkgproj"
sed.bak -i "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/${{ env.PLUGIN_NAME }}.iss"
sed -i "s/{{PLUGIN_NAME}}/${{ env.PLUGIN_NAME }}/g" "$ISS_FILE"
sed -i "s/{{PLUGIN_VERSION}}/${{ env.PLUGIN_VERSION }}/g" "$ISS_FILE"
sed -i "s/{{COMPANY_NAME}}/${{ env.COMPANY_NAME }}/g" "$ISS_FILE"
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"
iscc "packaging\${{ env.PLUGIN_NAME }}.iss"
mv "packaging\Output\${{ env.INSTALLER_NAME }}.exe" .
Expand Down

0 comments on commit 2208bd8

Please sign in to comment.