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:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '2.[0-9][0-9][0-9][0-9][0-9][0-9]'
|
- '[0-9].[0-9][0-9]'
|
||||||
jobs:
|
jobs:
|
||||||
release_snmp_info:
|
release_snmp_info:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -13,7 +13,6 @@ jobs:
|
|||||||
id: get_tag
|
id: get_tag
|
||||||
run: echo ::set-output name=TAGVALUE::${GITHUB_REF#refs/tags/}
|
run: echo ::set-output name=TAGVALUE::${GITHUB_REF#refs/tags/}
|
||||||
- name: Release
|
- name: Release
|
||||||
id: create_release
|
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
name: SNMP::Info ${{ steps.get_tag.outputs.TAGVALUE }}
|
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:
|
branches:
|
||||||
- master
|
- master
|
||||||
tags:
|
tags:
|
||||||
- '2.[0-9][0-9][0-9][0-9][0-9][0-9]'
|
- '[0-9].[0-9][0-9]'
|
||||||
jobs:
|
jobs:
|
||||||
test_snmp_info:
|
test_snmp_info:
|
||||||
name: Test and CPAN Upload
|
name: Test and CPAN Upload
|
||||||
|
|||||||
Reference in New Issue
Block a user