Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BioFlow-Insight
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
shareFAIR
BioFlow-Insight
Merge requests
!1
Build package
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Build package
build-package
into
main
Overview
0
Commits
9
Pipelines
3
Changes
9
Merged
Bryan Brancotte
requested to merge
build-package
into
main
1 year ago
Overview
0
Commits
9
Pipelines
3
Changes
1
Expand
0
0
Merge request reports
Viewing commit
c3c20d79
Prev
Next
Show latest version
1 file
+
4
−
2
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
c3c20d79
default when no tag provided
· c3c20d79
Bryan Brancotte
authored
1 year ago
.gitlab-ci.yml
+
4
−
2
Options
@@ -2,8 +2,6 @@ upload:
@@ -2,8 +2,6 @@ upload:
stage
:
deploy
stage
:
deploy
needs
:
[]
needs
:
[]
image
:
python:3.11
image
:
python:3.11
rules
:
-
if
:
$CI_COMMIT_TAG
variables
:
variables
:
PRIVATE_REGISTRY_API_URL
:
"
${PRIVATE_REGISTRY_API_URL}"
PRIVATE_REGISTRY_API_URL
:
"
${PRIVATE_REGISTRY_API_URL}"
TWINE_PASSWORD
:
"
${PRIVATE_REGISTRY_TOKEN_PASSWORD}"
TWINE_PASSWORD
:
"
${PRIVATE_REGISTRY_TOKEN_PASSWORD}"
@@ -11,6 +9,10 @@ upload:
@@ -11,6 +9,10 @@ upload:
script
:
script
:
-
pip install "setuptools>=62.6" twine
-
pip install "setuptools>=62.6" twine
-
echo "Tag name used ${CI_COMMIT_TAG}"
-
echo "Tag name used ${CI_COMMIT_TAG}"
-
>
if [[ -z "$CI_COMMIT_TAG" ]]; then
CI_COMMIT_TAG="v0.0.1a"
fi
-
sed -i "s/v0.0.1-dev/$CI_COMMIT_TAG/g" src/__init__.py
-
sed -i "s/v0.0.1-dev/$CI_COMMIT_TAG/g" src/__init__.py
-
python -m build
-
python -m build
-
python -m twine upload --verbose --repository-url ${PRIVATE_REGISTRY_API_URL} dist/*
-
python -m twine upload --verbose --repository-url ${PRIVATE_REGISTRY_API_URL} dist/*
Loading