-
-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GitHub Actions] "Draft Tag Release" workflow
- Loading branch information
Showing
2 changed files
with
40 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
on: | ||
push: | ||
# Sequence of patterns matched against refs/tags | ||
tags: | ||
- '*' | ||
|
||
name: Draft Tag Release | ||
|
||
jobs: | ||
create_draft_release: | ||
if: startsWith(github.ref, 'refs/tags/') # sanity-check | ||
name: Create Draft Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo (to obtain template files) | ||
uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: false | ||
fetch-depth: 1 | ||
lfs: false | ||
- name: Create Draft Release | ||
uses: past-due/action-gh-release@v1 | ||
with: | ||
# Do not explicitly specify a tag_name, so this action takes the github.ref and parses it for just the tag | ||
body_path: .github/wz/templates/draft_release_body_template.md | ||
draft: true | ||
prerelease: false | ||
env: | ||
# This token is provided by Actions, you do not need to create your own token | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
### Do not publish this release until all of the assets have been uploaded by CI, and you've verified them according to the Release process. (Then remove this text block.) | ||
-------- | ||
|
||
`warzone2100_win_x86_installer.exe` -- The main Windows build (full installer) | ||
`warzone2100_win_x86_portable.exe` -- The portable version of the Windows build (self contained -- install it anywhere!) | ||
`warzone2100_macOS.zip` -- For macOS (10.10+) | ||
`warzone2100_src.tar.xz` -- The tarball for Linux / BSD / whatever systems. (full source / data) | ||
|
||
**IMPORTANT: To build from source, use the warzone2100_src.tar.xz tarball.** | ||
> The auto-generated GitHub "_Source code (zip) / (tar.gz)_" links do **_not_** include the Git-based autorevision information. |