github action: fix version format

This commit is contained in:
Oliver Gorwits
2021-08-23 16:02:14 +01:00
parent 80b88fbbb4
commit f7ca5dfde2
2 changed files with 2 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ name: GitHub Release on Tag
on:
push:
tags:
- '2.[0-9][0-9][0-9][0-9][0-9][0-9]'
- '[0-9].[0-9][0-9]'
jobs:
release_snmp_info:
runs-on: ubuntu-latest
@@ -13,7 +13,6 @@ jobs:
id: get_tag
run: echo ::set-output name=TAGVALUE::${GITHUB_REF#refs/tags/}
- name: Release
id: create_release
uses: softprops/action-gh-release@v1
with:
name: SNMP::Info ${{ steps.get_tag.outputs.TAGVALUE }}

View File

@@ -14,7 +14,7 @@ on:
branches:
- master
tags:
- '2.[0-9][0-9][0-9][0-9][0-9][0-9]'
- '[0-9].[0-9][0-9]'
jobs:
test_snmp_info:
name: Test and CPAN Upload