Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gibihm
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
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Nik | Klampfradler
gibihm
Merge requests
!1
[CI] Publish to PyPi
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
[CI] Publish to PyPi
ci-config
into
master
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Tom Teichler
requested to merge
ci-config
into
master
4 years ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
0
0
Merge request reports
Compare
master
version 4
51a86cd1
4 years ago
version 3
820a448f
4 years ago
version 2
497a4ef1
4 years ago
version 1
90671aa8
4 years ago
master (base)
and
latest version
latest version
4475d218
1 commit,
4 years ago
version 4
51a86cd1
1 commit,
4 years ago
version 3
820a448f
1 commit,
4 years ago
version 2
497a4ef1
1 commit,
4 years ago
version 1
90671aa8
1 commit,
4 years ago
1 file
+
14
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
14
−
0
Options
@@ -17,3 +17,17 @@ docker:
--destination natureshadow/gibihm:latest
--cache=true
--cleanup
dist
:
interruptible
:
true
stage
:
build
variables
:
POETRY_PYPI_TOKEN_PYPI
:
"
$PYPI_PUBLISH_TOKEN"
script
:
-
if ! [ "$(poetry version | cut -d" " -f2)" = $CI_COMMIT_REF_NAME ]; then
echo "Package version does not match tag. Aborting build of tag!" >/dev/fd/2 ;
exit 1 ;
fi
-
poetry publish
only
:
-
tags
Loading