From eea6e5524eecf369efc8f5f1a0061a8af8cfb7e6 Mon Sep 17 00:00:00 2001 From: mgrani Date: Fri, 7 Jun 2024 16:01:48 +0200 Subject: [PATCH] feat: semantic versioning tested. used this commit to bump --- build.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 25aeb07..8b431e7 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,7 @@ -#!/bin/sh - -poetry run git-changelog -poetry build -python update_version.py \ No newline at end of file +#!/bin/bash +# shellcheck disable=SC2039 +source "$(pwd)/.env-rc" +poetry run semantic-release version --no-vcs-release +# could be also done via semantic-release, but no time to configer / understand as of now +poetry config repositories.opencode https://opencode.it4i.eu/api/v4/projects/92/packages/pypi +poetry publish --repository opencode -u $GITLAB_TOKEN_NAME -p $GITLAB_TOKEN_SECRET -- 2.51.2