Skip to content

Commit

Permalink
Add workflow for version releases.
Browse files Browse the repository at this point in the history
This should allow creating a release by simply pushing a tag of the
form "vX.Y.Z" (where "X.Y.Z" follows https://semver.org).

See https://github.com/marketplace/actions/automatic-releases for
more information on the workflow.
  • Loading branch information
rlepigre committed May 27, 2021
1 parent 1bf905f commit 4638f44
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/tag_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "Tagged release"

on:
push:
tags:
- "v*"

jobs:
gh_pre_release:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout source code"
uses: "actions/checkout@v2"

- name: "Install Linux deps"
run: |
sudo apt install gettext-base psmisc bsdmainutils tar
- name: "Creating the archive"
run: |
./utils/archive.sh
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
LICENSE
GameShell.sh

0 comments on commit 4638f44

Please sign in to comment.