Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Airflow Datacat Integration
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eFlows4HPC WP2
Airflow Datacat Integration
Commits
92758e45
Commit
92758e45
authored
3 years ago
by
Christian Boettcher
Browse files
Options
Downloads
Patches
Plain Diff
get version from release tag instead of manually
parent
294b427a
Branches
Branches containing commit
Tags
release-v0.0.3
Tags containing commit
No related merge requests found
Pipeline
#86130
failed
3 years ago
Stage: test
Stage: build
Stage: publish
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-0
3 additions, 0 deletions
.gitlab-ci.yml
setup.cfg
+1
-1
1 addition, 1 deletion
setup.cfg
with
4 additions
and
1 deletion
.gitlab-ci.yml
+
3
−
0
View file @
92758e45
...
...
@@ -42,6 +42,7 @@ build_package:
stage
:
build
script
:
-
pip install -r requirements.txt
-
sed -i "s_VERSION_0.0.1_g" setup.cfg
-
python -m build
artifacts
:
paths
:
...
...
@@ -55,4 +56,6 @@ publish_package:
stage
:
publish
script
:
-
pip install twine
-
VER=${CI_COMMIT_TAG#*-}
-
sed -i "s_VERSION_${VER}_g" setup.cfg
-
TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
This diff is collapsed.
Click to expand it.
setup.cfg
+
1
−
1
View file @
92758e45
[metadata]
name
=
airflow_datacat_integration
version
=
0.0.1
version
=
VERSION
author
=
Christian Boettcher
author_email
=
c.boettcher@fz-juelich.de
description
=
Datacatalog Integration for Apache Airflow
...
...
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