Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
deadlock-desktop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
deadlock-public
deadlock-desktop
Commits
8aea3bcb
Commit
8aea3bcb
authored
3 years ago
by
Guillaume WEBER
Browse files
Options
Downloads
Patches
Plain Diff
ci: change release/pre-release strategy
parent
6a4d0787
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!14
feat: added mounted, .bashrc, .zshrc, added tests, added keycloak tests
,
!8
feat(extension): login, open in devcontainer, automaticly save code, open briefing, publish extension
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-5
2 additions, 5 deletions
.gitlab-ci.yml
with
2 additions
and
5 deletions
.gitlab-ci.yml
+
2
−
5
View file @
8aea3bcb
...
@@ -25,7 +25,6 @@ build:
...
@@ -25,7 +25,6 @@ build:
-
docker push $CI_REGISTRY_IMAGE/$VERSION:$TAG
-
docker push $CI_REGISTRY_IMAGE/$VERSION:$TAG
rules
:
rules
:
-
if
:
$CI_COMMIT_BRANCH == "main"
-
if
:
$CI_COMMIT_BRANCH == "main"
-
if
:
$CI_COMMIT_TAG !=
null
desktop_extension:package:pre-release
:
desktop_extension:package:pre-release
:
stage
:
build
stage
:
build
...
@@ -77,8 +76,7 @@ desktop_extension:package:release:
...
@@ -77,8 +76,7 @@ desktop_extension:package:release:
script
:
script
:
-
./build-desktop.sh prod
-
./build-desktop.sh prod
rules
:
rules
:
-
if
:
$CI_COMMIT_BRANCH == "master"
-
if
:
$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG =~ /^(?:\d+\.){2}(?:\d+)$/
-
if
:
$CI_COMMIT_TAG
desktop_extension:publish:release
:
desktop_extension:publish:release
:
stage
:
publish
stage
:
publish
...
@@ -95,5 +93,4 @@ desktop_extension:publish:release:
...
@@ -95,5 +93,4 @@ desktop_extension:publish:release:
-
cd $EXTENSION_PATH
-
cd $EXTENSION_PATH
-
npm run vsce-publish -- -p $VSCODE_EXTENSION_MARKET_PLACE_ACCESS_TOKEN
-
npm run vsce-publish -- -p $VSCODE_EXTENSION_MARKET_PLACE_ACCESS_TOKEN
rules
:
rules
:
-
if
:
$CI_COMMIT_BRANCH == "master"
-
if
:
$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG =~ /^(?:\d+\.){2}(?:\d+)$/
-
if
:
$CI_COMMIT_TAG
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment