Skip to content

Commit

Permalink
fix compile script
Browse files Browse the repository at this point in the history
  • Loading branch information
remi durand committed May 21, 2021
1 parent 1240526 commit 0c7c3b1
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ccpp_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ccpp_mac_debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ccpp_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ccpp_ubuntu_debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ccpp_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ccpp_win_debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion version.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

Expand Down

0 comments on commit 0c7c3b1

Please sign in to comment.