Skip to content

Commit

Permalink
Fixing gitlab ci manifest path issue #2
Browse files Browse the repository at this point in the history
  • Loading branch information
jonoomph committed May 28, 2024
1 parent 191d2f8 commit 5f00250
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ windows-builder-x64:
- 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"
- python3 -u freeze.py build --git-branch=$CI_COMMIT_REF_NAME
- $EXE_PATH = "$CI_PROJECT_DIR\build\exe.mingw-" + $PY_ABI + "\openshot-qt.exe"
- $manifestPath = "installer/windows.manifest"
- (Get-Content $manifestPath) -replace "VERSION", $env:VERSION -replace "ARCHITECTURE", "x64" | Set-Content $manifestPath
- rcedit-x64.exe "$EXE_PATH" --application-manifest installer/windows.manifest
- python3 -u installer/build_server.py "$SLACK_TOKEN" "$WINDOWS_KEY" "$WINDOWS_PASSWORD" "$GITHUB_USER" "$GITHUB_PASS" "False" "$CI_COMMIT_REF_NAME" "$MAC_PASSWORD"
Expand Down Expand Up @@ -149,6 +150,7 @@ windows-builder-x86:
- python3 -u freeze.py build --git-branch=$CI_COMMIT_REF_NAME
- $EXE_PATH = "$CI_PROJECT_DIR\build\exe.mingw-" + $PY_ABI + "\openshot-qt.exe"
- editbin /LARGEADDRESSAWARE "$EXE_PATH"
- $manifestPath = "installer/windows.manifest"
- (Get-Content $manifestPath) -replace "VERSION", $env:VERSION -replace "ARCHITECTURE", "x86" | Set-Content $manifestPath
- rcedit-x86.exe "$EXE_PATH" --application-manifest installer/windows.manifest
- python3 -u installer/build_server.py "$SLACK_TOKEN" "$WINDOWS_KEY" "$WINDOWS_PASSWORD" "$GITHUB_USER" "$GITHUB_PASS" "True" "$CI_COMMIT_REF_NAME" "$MAC_PASSWORD"
Expand Down

0 comments on commit 5f00250

Please sign in to comment.