Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
python-spectrometer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
qutech
python-spectrometer
Commits
253b740d
Commit
253b740d
authored
1 year ago
by
Tobias Hangleiter
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix_release_on_tagged_commit' into 'main'
Fix release on tagged commit See merge request
!12
parents
9feaf9b1
d4db2b5f
Branches
Branches containing commit
Tags
v2023.6.1
Tags containing commit
1 merge request
!12
Fix release on tagged commit
Pipeline
#1010813
waiting for manual action
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
with
2 additions
and
2 deletions
.gitlab-ci.yml
+
2
−
2
View file @
253b740d
# we use the oldest compatible version
image
:
python:3.
9
-slim
image
:
python:3.
8
-slim
variables
:
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
...
...
@@ -45,7 +45,7 @@ pypi:
artifacts
:
true
script
:
-
pip install -U twine
-
twine upload dist/*
-
twine upload
-u "$TWINE_USERNAME" -p "$TWINE_PASSWORD"
dist/*
rules
:
-
if
:
'
$CI_COMMIT_TAG
=~
/^v\d{4}\.\d{1,2}\.\d{1,2}$/'
# Always publish tagged commits matching CalVer
...
...
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