mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 07:25:53 +08:00
fix compile script
This commit is contained in:
parent
124052623f
commit
0c7c3b1255
2
.github/workflows/ccpp_mac.yml
vendored
2
.github/workflows/ccpp_mac.yml
vendored
@ -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
|
||||
|
2
.github/workflows/ccpp_mac_debug.yml
vendored
2
.github/workflows/ccpp_mac_debug.yml
vendored
@ -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
|
||||
|
2
.github/workflows/ccpp_ubuntu.yml
vendored
2
.github/workflows/ccpp_ubuntu.yml
vendored
@ -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
|
||||
|
2
.github/workflows/ccpp_ubuntu_debug.yml
vendored
2
.github/workflows/ccpp_ubuntu_debug.yml
vendored
@ -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
|
||||
|
2
.github/workflows/ccpp_win.yml
vendored
2
.github/workflows/ccpp_win.yml
vendored
@ -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
|
||||
|
2
.github/workflows/ccpp_win_debug.yml
vendored
2
.github/workflows/ccpp_win_debug.yml
vendored
@ -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
|
||||
|
@ -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}")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user