This commit is contained in:
biroder 2023-11-12 12:34:38 +02:00 committed by GitHub
parent 3b14adf949
commit 3af1d61e5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -88,10 +88,10 @@ jobs:
run: | run: |
if [ "${{ github.ref_type }}" == "tag" ]; then if [ "${{ github.ref_type }}" == "tag" ]; then
export DRS_BUILD_VERSION_OVERRIDE="{{ github.ref_name }}" export DRS_BUILD_VERSION_OVERRIDE="{{ github.ref_name }}"
elif [ "${{ github.ref_name }} == "master"]; then elif [ "${{ github.ref_name }}" == "master"]; then
export DRS_BUILD_VERSION_OVERRIDE="$VERSION-$((${{ github.run_number }} + 654))" export DRS_BUILD_VERSION_OVERRIDE="${{ env.VERSION }}-$((${{ github.run_number }} + 654))"
else else
export DRS_BUILD_VERSION_OVERRIDE="$VERSION-${GITHUB_SHA:0:7}" export DRS_BUILD_VERSION_OVERRIDE="${{ env.VERSION }}-${GITHUB_SHA:0:7}"
fi fi
mkdir release mkdir release
@ -161,10 +161,10 @@ jobs:
run: | run: |
if [ "${{ github.ref_type }}" == "tag" ]; then if [ "${{ github.ref_type }}" == "tag" ]; then
export DRS_BUILD_VERSION_OVERRIDE="{{ github.ref_name }}" export DRS_BUILD_VERSION_OVERRIDE="{{ github.ref_name }}"
elif [ "${{ github.ref_name }} == "master"]; then elif [ "${{ github.ref_name }}" == "master"]; then
export DRS_BUILD_VERSION_OVERRIDE="$VERSION-$((${{ github.run_number }} + 654))" export DRS_BUILD_VERSION_OVERRIDE="${{ env.VERSION }}-$((${{ github.run_number }} + 654))"
else else
export DRS_BUILD_VERSION_OVERRIDE="$VERSION-${GITHUB_SHA:0:7}" export DRS_BUILD_VERSION_OVERRIDE="${{ env.VERSION }}-${GITHUB_SHA:0:7}"
fi fi
cd app cd app