Skip to content

Commit

Permalink
Merge pull request #2391 from RPTools/build-fix
Browse files Browse the repository at this point in the history
Fix for problem with build when release tags have no beta/rc component
  • Loading branch information
Phergus authored Feb 15, 2021
2 parents c9fc146 + 067bc0e commit 7032c44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
- name: Copy the RPM to the location required to build the ArchLinux package
if: matrix.os == 'ubuntu-latest'
run: cp releases/maptool-*.rpm package/archlinux/maptool/maptool.rpm
continue-on-error: true
- name: Build ArchLinux package
uses: 2m/[email protected]
# This only even makes sense on Ubuntu.
Expand All @@ -70,6 +71,7 @@ jobs:
run: |
cp releases/MapTool*.exe releases/MapTool-${{ github.event.release.tag_name }}.exe
cp releases/MapTool*.msi releases/MapTool-${{ github.event.release.tag_name }}.msi
continue-on-error: true
- name: Upload Windows EXE Release Asset
id: upload-release-asset-exe
uses: actions/upload-release-asset@v1
Expand Down Expand Up @@ -115,6 +117,7 @@ jobs:
cp releases/maptool*.x86_64.rpm releases/maptool-${{ github.event.release.tag_name }}.x86_64.rpm
cp releases/maptool*_amd64.deb releases/maptool_${{ github.event.release.tag_name }}_amd64.deb
cp package/archlinux/maptool/maptool-*-x86_64.pkg.tar.zst releases/maptool-${{ github.event.release.tag_name }}-x86_64.pkg.tar.zst
continue-on-error: true
- name: Upload Linux RPM Release Asset
id: upload-release-asset-rpm
uses: actions/upload-release-asset@v1
Expand Down Expand Up @@ -159,6 +162,7 @@ jobs:
run: |
cp releases/MapTool*.dmg releases/MapTool-${{ github.event.release.tag_name }}.dmg
cp releases/MapTool*.pkg releases/MapTool-${{ github.event.release.tag_name }}.pkg
continue-on-error: true
- name: Upload Mac DMG Release Asset
id: upload-release-asset-dmg
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit 7032c44

Please sign in to comment.