Skip to content

Commit 5f00250

Browse files
committed
Fixing gitlab ci manifest path issue #2
1 parent 191d2f8 commit 5f00250

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.gitlab-ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ windows-builder-x64:
108108
- git log "$PREV_GIT_LABEL..@" --oneline --pretty=format:"- %C(auto,yellow)%h%C(auto,magenta)% %C(auto,blue)%>(12,trunc)%ad %C(auto,green)%<(25,trunc)%aN%C(auto,reset)%s%C(auto,red)% gD% D" --date=short > "build/install-x64/share/$CI_PROJECT_NAME.log"
109109
- python3 -u freeze.py build --git-branch=$CI_COMMIT_REF_NAME
110110
- $EXE_PATH = "$CI_PROJECT_DIR\build\exe.mingw-" + $PY_ABI + "\openshot-qt.exe"
111+
- $manifestPath = "installer/windows.manifest"
111112
- (Get-Content $manifestPath) -replace "VERSION", $env:VERSION -replace "ARCHITECTURE", "x64" | Set-Content $manifestPath
112113
- rcedit-x64.exe "$EXE_PATH" --application-manifest installer/windows.manifest
113114
- python3 -u installer/build_server.py "$SLACK_TOKEN" "$WINDOWS_KEY" "$WINDOWS_PASSWORD" "$GITHUB_USER" "$GITHUB_PASS" "False" "$CI_COMMIT_REF_NAME" "$MAC_PASSWORD"
@@ -149,6 +150,7 @@ windows-builder-x86:
149150
- python3 -u freeze.py build --git-branch=$CI_COMMIT_REF_NAME
150151
- $EXE_PATH = "$CI_PROJECT_DIR\build\exe.mingw-" + $PY_ABI + "\openshot-qt.exe"
151152
- editbin /LARGEADDRESSAWARE "$EXE_PATH"
153+
- $manifestPath = "installer/windows.manifest"
152154
- (Get-Content $manifestPath) -replace "VERSION", $env:VERSION -replace "ARCHITECTURE", "x86" | Set-Content $manifestPath
153155
- rcedit-x86.exe "$EXE_PATH" --application-manifest installer/windows.manifest
154156
- python3 -u installer/build_server.py "$SLACK_TOKEN" "$WINDOWS_KEY" "$WINDOWS_PASSWORD" "$GITHUB_USER" "$GITHUB_PASS" "True" "$CI_COMMIT_REF_NAME" "$MAC_PASSWORD"

0 commit comments

Comments
 (0)