Skip to content
Snippets Groups Projects
Commit 8aea3bcb authored by Guillaume WEBER's avatar Guillaume WEBER
Browse files

ci: change release/pre-release strategy

parent 6a4d0787
Branches
No related tags found
2 merge requests!14feat: added mounted, .bashrc, .zshrc, added tests, added keycloak tests,!8feat(extension): login, open in devcontainer, automaticly save code, open briefing, publish extension
......@@ -25,7 +25,6 @@ build:
- docker push $CI_REGISTRY_IMAGE/$VERSION:$TAG
rules:
- if: $CI_COMMIT_BRANCH == "main"
- if: $CI_COMMIT_TAG != null
desktop_extension:package:pre-release:
stage: build
......@@ -77,8 +76,7 @@ desktop_extension:package:release:
script:
- ./build-desktop.sh prod
rules:
- if: $CI_COMMIT_BRANCH == "master"
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG =~ /^(?:\d+\.){2}(?:\d+)$/
desktop_extension:publish:release:
stage: publish
......@@ -95,5 +93,4 @@ desktop_extension:publish:release:
- cd $EXTENSION_PATH
- npm run vsce-publish -- -p $VSCODE_EXTENSION_MARKET_PLACE_ACCESS_TOKEN
rules:
- if: $CI_COMMIT_BRANCH == "master"
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG =~ /^(?:\d+\.){2}(?:\d+)$/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment