From 51b8165c0e42386f4f83c9405fc206be2b84f23f Mon Sep 17 00:00:00 2001 From: Zedifus Date: Sat, 18 Jun 2022 22:57:12 +0100 Subject: [PATCH] Rename crafty_commander to crafty Also make win master only run on release: https://gitlab.com/crafty-controller/crafty-4/-/releases --- .gitlab/windows-build.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitlab/windows-build.yml b/.gitlab/windows-build.yml index 75555151..2af1acc2 100644 --- a/.gitlab/windows-build.yml +++ b/.gitlab/windows-build.yml @@ -21,7 +21,7 @@ win-dev-build: - pyinstaller -F main.py --distpath . --icon app\frontend\static\assets\images\Crafty_4-0_Logo_square.ico - --name "crafty_commander" + --name "crafty" --paths .venv\Lib\site-packages --hidden-import cryptography --hidden-import cffi @@ -37,7 +37,7 @@ win-dev-build: name: "crafty-${CI_RUNNER_TAGS}-${CI_COMMIT_BRANCH}_${CI_COMMIT_SHORT_SHA}" paths: - app\ - - .\crafty_commander.exe + - .\crafty.exe exclude: - app\classes\**\* @@ -49,7 +49,6 @@ win-prod-build: paths: - .venv/ rules: - - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH" - if: $CI_COMMIT_TAG environment: name: production @@ -63,7 +62,7 @@ win-prod-build: - pyinstaller -F main.py --distpath . --icon app\frontend\static\assets\images\Crafty_4-0_Logo_square.ico - --name "crafty_commander" + --name "crafty" --paths .venv\Lib\site-packages --hidden-import cryptography --hidden-import cffi @@ -81,7 +80,7 @@ win-prod-build: name: "crafty-${CI_RUNNER_TAGS}-${CI_COMMIT_BRANCH}_${CI_COMMIT_SHORT_SHA}" paths: - app\ - - .\crafty_commander.exe + - .\crafty.exe expire_in: never exclude: - app\classes\**\*