cut every prefix
This commit is contained in:
parent
45493ee919
commit
7e828ebb5c
@ -29,8 +29,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- id: parseStep
|
- id: parseStep
|
||||||
run: |
|
run: |
|
||||||
VERSION="${{ inputs.version }}"
|
VERSION=$(echo ${{ inputs.version }} | sed 's|.*/||')
|
||||||
VERSION="${VERSION#refs/tags/}"
|
|
||||||
IFS='.' read -r major minor patch build <<< "$VERSION"
|
IFS='.' read -r major minor patch build <<< "$VERSION"
|
||||||
|
|
||||||
if [ -z "$build" ]; then
|
if [ -z "$build" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user