From 45bb897ea142fdecb9a696bb88aa968c7cfa603c Mon Sep 17 00:00:00 2001 From: s3krit Date: Sat, 14 Mar 2020 12:57:09 +0100 Subject: [PATCH] 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 --- .../.github/workflows/release-tagging.yml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 substrate/.github/workflows/release-tagging.yml diff --git a/substrate/.github/workflows/release-tagging.yml b/substrate/.github/workflows/release-tagging.yml new file mode 100644 index 0000000000..c55fc13a62 --- /dev/null +++ b/substrate/.github/workflows/release-tagging.yml @@ -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 }}