Remove pre-release information before passing version to maven in workflow

This commit is contained in:
RatzzFatzz
2025-12-16 23:44:13 +01:00
parent fa572030da
commit 15177268a0

View File

@@ -23,7 +23,7 @@ jobs:
- name: Extract version from tag - name: Extract version from tag
id: get_version id: get_version
run: echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_OUTPUT run: echo "VERSION=$(echo ${GITHUB_REF_NAME#v} | cut -d'-' -f1)" >> $GITHUB_OUTPUT
shell: bash shell: bash
- name: Set timezone - name: Set timezone
@@ -69,7 +69,7 @@ jobs:
- name: Extract version from tag - name: Extract version from tag
id: get_version id: get_version
run: echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_OUTPUT run: echo "VERSION=$(echo ${GITHUB_REF_NAME#v} | cut -d'-' -f1)" >> $GITHUB_OUTPUT
shell: bash shell: bash
- name: Set timezone - name: Set timezone
@@ -117,7 +117,7 @@ jobs:
- name: Extract version from tag - name: Extract version from tag
id: get_version id: get_version
run: echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_OUTPUT run: echo "VERSION=$(echo ${GITHUB_REF_NAME#v} | cut -d'-' -f1)" >> $GITHUB_OUTPUT
shell: bash shell: bash
- name: Set timezone - name: Set timezone