-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2391 from RPTools/build-fix
Fix for problem with build when release tags have no beta/rc component
- Loading branch information
Showing
1 changed file
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|