github action: fix version format
This commit is contained in:
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -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 }}
|
||||
|
||||
2
.github/workflows/test_and_publish.yml
vendored
2
.github/workflows/test_and_publish.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user