Skip to content

Commit d87eae7

Browse files
committed
fix: update Package.wxs version to match new version format
1 parent 8f5be32 commit d87eae7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,15 @@ jobs:
121121
run: |
122122
sed -i 's/<OutputName>SVNPathCopy-[^<]*<\/OutputName>/<OutputName>SVNPathCopy-${{ steps.bump_version.outputs.new_version }}<\/OutputName>/g' src/SVNPathCopy.Installer/SVNPathCopy.Installer.wixproj
123123
124+
- name: Update Package.wxs version
125+
run: |
126+
sed -i 's/Version="[^"]*"/Version="${{ steps.bump_version.outputs.new_version }}.0"/g' src/SVNPathCopy.Installer/Package.wxs
127+
124128
- name: Commit and push version update
125129
run: |
126130
git config user.name "github-actions[bot]"
127131
git config user.email "github-actions[bot]@users.noreply.github.com"
128-
git add Directory.Build.props src/SVNPathCopy.Installer/SVNPathCopy.Installer.wixproj
132+
git add Directory.Build.props src/SVNPathCopy.Installer/SVNPathCopy.Installer.wixproj src/SVNPathCopy.Installer/Package.wxs
129133
git commit -m "chore: bump version to ${{ steps.bump_version.outputs.new_version }}"
130134
git push
131135

0 commit comments

Comments
 (0)