1
0

cut every prefix

This commit is contained in:
Marco Maatz 2024-10-19 00:42:58 +02:00
parent 45493ee919
commit 7e828ebb5c

View File

@ -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