Create release-tagging github action (#5225)

* Create release-tagging github action

Uses an action that I forked, which I retain control of for now. Can probably move it to the paritytech repo at some point

* Remove 'prereleased' trigger

`published` action is triggered whether the release is a pre-release or not.

* Update release-tagging.yml

* Remove superfluous cmment
This commit is contained in:
s3krit
2020-03-14 12:57:09 +01:00
committed by GitHub
parent 79fc16e4d7
commit 45bb897ea1
+20
View File
@@ -0,0 +1,20 @@
# Github action to ensure the `release` tag always tracks latest release
name: Retag release
on:
release:
types: [ published ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set Git tag
uses: s3krit/walking-tag-action@master
with:
TAG_NAME: release
TAG_MESSAGE: Latest release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}