File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 17
17
- name : Check version tag format
18
18
run : |
19
19
TAG_VERSION="${{ github.event.release.tag_name }}"
20
- if [[ $TAG_VERSION =~ ^v[0-9]+.[0-9]+.[0-9]+(-rc \.[1-9])?$ ]]; then exit 0; else exit 1; fi
20
+ if [[ $TAG_VERSION =~ ^v[0-9]+.[0-9]+.[0-9]+(-(rc|post) \.[1-9])?$ ]]; then exit 0; else exit 1; fi
21
21
- name : Check if version tag and package version are equal
22
22
run : |
23
23
TAG_VERSION="${{ github.event.release.tag_name }}"
Original file line number Diff line number Diff line change 17
17
- name : Check version tag format
18
18
run : |
19
19
TAG_VERSION="${{ github.event.release.tag_name }}"
20
- if [[ $TAG_VERSION =~ ^v[0-9]+.[0-9]+.[0-9]+(-rc \.[1-9])?$ ]]; then exit 0; else exit 1; fi
20
+ if [[ $TAG_VERSION =~ ^v[0-9]+.[0-9]+.[0-9]+(-(rc|post) \.[1-9])?$ ]]; then exit 0; else exit 1; fi
21
21
- name : Check if version tag and package version are equal
22
22
run : |
23
23
TAG_VERSION="${{ github.event.release.tag_name }}"
Original file line number Diff line number Diff line change 17
17
- name : Check version tag format
18
18
run : |
19
19
$VERSION_TAG="${{ github.event.release.tag_name }}"
20
- if ($VERSION_TAG -match "^v[0-9]+.[0-9]+.[0-9]+(-rc \.[1-9])?$") {exit 0} else {exit 1}
20
+ if ($VERSION_TAG -match "^v[0-9]+.[0-9]+.[0-9]+(-(rc|post) \.[1-9])?$") {exit 0} else {exit 1}
21
21
- name : Check if version tag and package version are equal
22
22
run : |
23
23
$VERSION_TAG="${{ github.event.release.tag_name }}"
Original file line number Diff line number Diff line change 1
- 0.5.0
1
+ 0.5.0-post.1
You can’t perform that action at this time.
0 commit comments