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