fix compile script

This commit is contained in:
remi durand 2021-05-21 21:19:34 +02:00
parent 124052623f
commit 0c7c3b1255
7 changed files with 7 additions and 7 deletions

View File

@ -16,7 +16,7 @@ jobs:
ref: 'Nigthly'
- name: update submodule profiles
working-directory: ./resources/profiles
run: git submodule update
run: git submodule update --init
- name: change date in version
run: |
sed "s/+UNKNOWN/_$(date '+%F')/" version.inc > version.date.inc

View File

@ -16,7 +16,7 @@ jobs:
ref: 'debug_macos'
- name: update submodule profiles
working-directory: ./resources/profiles
run: git submodule update
run: git submodule update --init
- name: change date in version
run: |
sed "s/+UNKNOWN/_$(date '+%F')/" version.inc > version.date.inc

View File

@ -16,7 +16,7 @@ jobs:
ref: 'Nigthly'
- name: update submodule profiles
working-directory: ./resources/profiles
run: git submodule update
run: git submodule update --init
- name: change date in version
run: sed -i "s/+UNKNOWN/_$(date '+%F')/" version.inc
- name: update clock

View File

@ -16,7 +16,7 @@ jobs:
ref: 'debug_ubuntu'
- name: update submodule profiles
working-directory: ./resources/profiles
run: git submodule update
run: git submodule update --init
- name: change date in version
run: sed -i "s/+UNKNOWN/_$(date '+%F')/" version.inc
- name: update clock

View File

@ -36,7 +36,7 @@ jobs:
- uses: ilammy/msvc-dev-cmd@v1
- name: update submodule profiles
working-directory: ./resources/profiles
run: git submodule update
run: git submodule update --init
- name: change date in version
shell: powershell
run: (Get-Content version.inc) | Foreach-Object {$_ -replace "\+UNKNOWN", ("_" + [datetime]::Today.ToString("yyyy-MM-dd"))} | Set-Content version.inc

View File

@ -36,7 +36,7 @@ jobs:
- uses: ilammy/msvc-dev-cmd@v1
- name: update submodule profiles
working-directory: ./resources/profiles
run: git submodule update
run: git submodule update --init
- name: change date in version
shell: powershell
run: (Get-Content version.inc) | Foreach-Object {$_ -replace "\+UNKNOWN", ("_" + [datetime]::Today.ToString("yyyy-MM-dd"))} | Set-Content version.inc

View File

@ -10,7 +10,7 @@ set(SLIC3R_APP_CMD "Slic3r")
# versions
set(SLIC3R_VERSION "2.4")
set(SLIC3R_VERSION_FULL "2.4.00.0")
set(SLIC3R_BUILD_ID "Slic3r_${SLIC3R_VERSION_FULL}")
set(SLIC3R_BUILD_ID "${SLIC3R_APP_KEY}_${SLIC3R_VERSION_FULL}")
set(SLIC3R_RC_VERSION "2,4,00,0")
set(SLIC3R_RC_VERSION_DOTS "${SLIC3R_VERSION_FULL}")