Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LISA Instrument
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LISA Simulation
LISA Instrument
Commits
e9c7474b
Commit
e9c7474b
authored
2 years ago
by
Jean-Baptiste Bayle
Browse files
Options
Downloads
Plain Diff
Merge branch '110-automatically-tag-latest-version' into 'master'
Resolve "Automatically tag latest version" Closes
#110
See merge request
!138
parents
c3ebf13a
c84b7d1b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!138
Resolve "Automatically tag latest version"
Pipeline
#204019
passed
2 years ago
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+13
-0
13 additions, 0 deletions
.gitlab-ci.yml
with
13 additions
and
0 deletions
.gitlab-ci.yml
+
13
−
0
View file @
e9c7474b
...
@@ -37,6 +37,19 @@ dist:
...
@@ -37,6 +37,19 @@ dist:
paths
:
paths
:
-
dist
-
dist
tag-latest
:
stage
:
deploy
image
:
alpine/git
script
:
-
git config user.email "${GITLAB_USER_EMAIL}"
-
git config user.name "${GITLAB_USER_NAME}"
-
git remote add tag-origin https://oauth2:${GITLAB_ACCESS_TOKEN}@gitlab.in2p3.fr/${CI_PROJECT_PATH}
-
git push --delete tag-origin latest
-
git tag latest
-
git push tag-origin latest
rules
:
-
if
:
'
$CI_COMMIT_TAG
=~
/^v\d+(?:\.\d+){0,2}$/'
pypi
:
pypi
:
stage
:
deploy
stage
:
deploy
script
:
script
:
...
...
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