Browse Source

Fix typo in windows release script

Arkadiusz Ryś 3 years ago
parent
commit
1c0f6d00f2
1 changed files with 5 additions and 6 deletions
  1. 5 6
      .gitlab-ci.yml

+ 5 - 6
.gitlab-ci.yml

@@ -55,11 +55,10 @@ build-windows-exe:
     - echo "Building windows executable"
     - apt install -qy zip
   script:
-    - xvfb-run sh -c "wine pip install --no-warn-script-location -r requirements.py; wineserver -w"
+    - xvfb-run sh -c "wine pip install --no-warn-script-location -r requirements.txt; wineserver -w"
 #    - xvfb-run sh -c "wine pyinstaller graph_exploring_tool/__main__.py --onefile --add-data data:data --collect-all graph-exploring-tool --windowed --noconfirm; wineserver -w"
-    - xvfb-run sh -c "wine pyinstaller graph_exploring_tool/__main__.py --name get.exe --paths=graph_exploring_tool --hidden-import arklog --onefile --windowed --noconfirm; wineserver -w"
-    - mkdir -p dist/data/
-    - cp -r data/* dist/data/
+    - xvfb-run sh -c "wine pyinstaller graph_exploring_tool/__main__.py --name get.exe --paths=graph_exploring_tool --onefile --windowed --noconfirm; wineserver -w"
+    - cp dist/get.exe ./
   rules:
     - if: $CI_COMMIT_TAG
     - if: $CI_PIPELINE_SOURCE == "push" || $CI_COMMIT_BRANCH == "dev"
@@ -68,5 +67,5 @@ build-windows-exe:
   artifacts:
     name: "graph_exploring_tool%$CI_COMMIT_TAG"
     paths:
-      - dist/data
-      - dist/get.exe
+      - data
+      - get.exe