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