From f5cb187d4a6c6bb90312898d2e204f08efb9f857 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Fri, 4 Sep 2020 19:32:19 +0200 Subject: [PATCH] fix custom build vresion in CI --- .github/workflows/build-all.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index 61d63579..e9a337a8 100755 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -92,9 +92,8 @@ jobs: - name: Rename Output Files run: | - CUSTOM_BUILD_VERSION=$(egrep -o "([0-9]{1,}\.)+[0-9]{1,}" Marlin/src/inc/Version.h -m2 | tail -n1) + CUSTOM_BUILD_VERSION=$(egrep -o "([0-9]{1,}\.)+[0-9]{1,}" Marlin/src/inc/Version.h -m2 | tail -n1) && \ mv .pio/build/${{ matrix.platform }}/firmware.hex .pio/build/${{ matrix.platform }}/${{ matrix.platform }}_v$CUSTOM_BUILD_VERSION.hex - done - name: Archive production artifacts uses: actions/upload-artifact@master