hopefully a fix fot the custom build version
This commit is contained in:
4
.github/workflows/build-all.yml
vendored
4
.github/workflows/build-all.yml
vendored
@@ -90,12 +90,10 @@ jobs:
|
||||
- name: Run PlatformIO
|
||||
run: platformio run --environment ${{ matrix.platform }}
|
||||
|
||||
- name: Get custom build version
|
||||
run: echo '::set-env name=CUSTOM_BUILD_VER::$(egrep -o "([0-9]{1,}\.)+[0-9]{1,}" Marlin/src/inc/Version.h -m2 | tail -n1)'
|
||||
|
||||
- name: Rename Output Files
|
||||
run: |
|
||||
CUSTOM_BUILD_VERSION=$(egrep -o "([0-9]{1,}\.)+[0-9]{1,}" Marlin/src/inc/Version.h -m2 | tail -n1) && \
|
||||
echo '::set-env name=CUSTOM_BUILD_VER::$CUSTOM_BUILD_VERSION' && \
|
||||
mv .pio/build/${{ matrix.platform }}/firmware.hex .pio/build/${{ matrix.platform }}/${{ matrix.platform }}_v$CUSTOM_BUILD_VERSION.hex
|
||||
|
||||
- name: Archive artifacts
|
||||
|
Reference in New Issue
Block a user