From add0a385adc6ee449487375707e123b6d74ecee3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christian=20B=C3=B6ttcher?= <c.boettcher@fz-juelich.de>
Date: Mon, 7 Nov 2022 09:31:23 +0100
Subject: [PATCH] set default version for import via pip+git

---
 .gitlab-ci.yml | 2 +-
 setup.cfg      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8995f98..b017098 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -46,7 +46,7 @@ build_package:
   script:
     - pip install -r requirements.txt
     - VER=${CI_COMMIT_TAG#*-}
-    - sed -i "s_VERSION_${VER}_g" setup.cfg
+    - sed -i "s_0.0.1_${VER}_g" setup.cfg
     - python -m build
   artifacts:
     paths:
diff --git a/setup.cfg b/setup.cfg
index ef54836..6b8b11e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
 [metadata]
 name = airflow_datacat_integration
-version = VERSION
+version = 0.0.1
 author = Christian Boettcher
 author_email = c.boettcher@fz-juelich.de
 description = Datacatalog Integration for Apache Airflow
-- 
GitLab