Files
netdisco/.github/workflows/release.yml
2021-09-27 10:10:35 +01:00

20 lines
528 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: GitHub Release on Tag
on:
push:
tags:
- '2.[0-9][0-9][0-9][0-9][0-9][0-9]'
jobs:
release_netdisco:
if: github.repository == netdisco/netdisco
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Get the Tag
id: get_tag
run: echo ::set-output name=TAGVALUE::${GITHUB_REF#refs/tags/}
- name: Release
uses: softprops/action-gh-release@v1
with:
name: Netdisco ${{ steps.get_tag.outputs.TAGVALUE }}