mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-10 13:37:03 +03:00
change build number in ... 4.3 - release
This commit is contained in:
4
.github/workflows/esp-idf-v4.3-build.yml
vendored
4
.github/workflows/esp-idf-v4.3-build.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
|||||||
- name: Set target name
|
- name: Set target name
|
||||||
run: |
|
run: |
|
||||||
echo "TARGET_BUILD_NAME=${{ matrix.node }}" >> $GITHUB_ENV
|
echo "TARGET_BUILD_NAME=${{ matrix.node }}" >> $GITHUB_ENV
|
||||||
echo "build_version_prefix=1." >> $GITHUB_ENV
|
echo "build_version_prefix=2." >> $GITHUB_ENV
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 15
|
fetch-depth: 15
|
||||||
@@ -66,7 +66,7 @@ jobs:
|
|||||||
echo "tag=${tag}" >> $GITHUB_ENV
|
echo "tag=${tag}" >> $GITHUB_ENV
|
||||||
last_commit="$(git log --pretty=format:'%s' --max-count=1)"
|
last_commit="$(git log --pretty=format:'%s' --max-count=1)"
|
||||||
if [[ "$last_commit" =~ .*"Release".* ]]; then echo "release_flag=1" >> $GITHUB_ENV; else echo "release_flag=0" >> $GITHUB_ENV; fi
|
if [[ "$last_commit" =~ .*"Release".* ]]; then echo "release_flag=1" >> $GITHUB_ENV; else echo "release_flag=0" >> $GITHUB_ENV; fi
|
||||||
name="1.${BUILD_NUMBER}-${{matrix.depth}}#v4.0#${TARGET_BUILD_NAME}#${branch_name}"
|
name="${build_version_prefix}${BUILD_NUMBER}-${{matrix.depth}}#v4.0#${TARGET_BUILD_NAME}#${branch_name}"
|
||||||
artifact_prefix="squeezelite-esp32-${branch_name}-${TARGET_BUILD_NAME}-${{matrix.depth}}-${build_version_prefix}${BUILD_NUMBER}"
|
artifact_prefix="squeezelite-esp32-${branch_name}-${TARGET_BUILD_NAME}-${{matrix.depth}}-${build_version_prefix}${BUILD_NUMBER}"
|
||||||
artifact_file_name="${artifact_prefix}.zip"
|
artifact_file_name="${artifact_prefix}.zip"
|
||||||
artifact_bin_file_name="${artifact_prefix}.bin"
|
artifact_bin_file_name="${artifact_prefix}.bin"
|
||||||
|
|||||||
Reference in New Issue
Block a user