diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 656b148..2deff91 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,7 +13,7 @@ build: - echo "VERSION=$VERSION" >> variables.env - export APPNAME=$(node -e "console.log(require('./package.json').productName)") - echo "APPNAME=$APPNAME" >> variables.env - - npm run build + - yarn build artifacts: reports: dotenv: variables.env @@ -22,7 +22,7 @@ build: - $CI_PROJECT_DIR/dist/*.* when: on_success only: - - master + - main variables: WIN_BINARY: '${APPNAME}-${VERSION}.exe'