We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d54a8a9 commit 7610393Copy full SHA for 7610393
.github/workflows/release.yml
@@ -16,11 +16,11 @@ jobs:
16
steps:
17
- name: "Check release version"
18
run: |
19
- [ "${{ github.event.inputs.releaseVersion }}" '=~' '^[0-9]+\.[0-9]+\.[0-9]+$' ]
+ expr "${{ github.event.inputs.releaseVersion }}" : '[[:digit:]][[:digit:]]*\.[[:digit:]][[:digit:]]*\.[[:digit:]][[:digit:]]*$'
20
21
- name: "Check next version"
22
23
- [ "${{ github.event.inputs.nextVersion }}" '=~' '^[0-9]+\.[0-9]+$' ]
+ expr "${{ github.event.inputs.nextVersion }}" : '[[:digit:]][[:digit:]]*\.[[:digit:]][[:digit:]]*$'
24
25
- uses: actions/checkout@v2.3.4
26
with:
0 commit comments