Skip to content

Commit fe55996

Browse files
committed
Change version format to [0-9].[0-9].[0-9].[0-9]+
1 parent 258eacd commit fe55996

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/nuget.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
id: check-version
1717
run: |
1818
version="${{ github.event.inputs.version }}"
19-
if [[ $version =~ [0-9]\.[0-9]\.[0-9]\.[0-9]+ ]]; then
19+
if [[ $version =~ [0-9]\.[0-9]\.[0-9]+ ]]; then
2020
echo "Input matches pattern: $version"
2121
else
2222
echo "Input does not match pattern: $version"

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release
22
on:
33
push:
44
tags:
5-
- '[0-9]\.[0-9]\.[0-9]\.[0-9]+'
5+
- '[0-9]\.[0-9]\.[0-9]+'
66

77
jobs:
88
build:

0 commit comments

Comments
 (0)