From e5d4ba33c07af46a83b28b7d03bd91a96539f8ea Mon Sep 17 00:00:00 2001 From: Jonas Maison Date: Tue, 3 Oct 2023 11:05:46 +0200 Subject: [PATCH] ci: update workflows --- .github/workflows/create_draft_release.yml | 2 +- .github/workflows/publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create_draft_release.yml b/.github/workflows/create_draft_release.yml index 4696360c4..09095fe08 100644 --- a/.github/workflows/create_draft_release.yml +++ b/.github/workflows/create_draft_release.yml @@ -56,7 +56,7 @@ jobs: source ./utils.sh # to get the bump_version function # Get release version - release_version=$(get_sdk_version_from_setup_cfg) + release_version=$(get_sdk_version_from_pyproject_toml) echo "Release version: $release_version" # make sure release_version is greater than last github release diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5709eac06..4ac4b938a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -95,7 +95,7 @@ jobs: curl https://raw.githubusercontent.com/kili-technology/kili-python-sdk/main/.github/scripts/utils.sh --output utils.sh source ./utils.sh # to get the bump_version function - sdk_version=$(get_sdk_version_from_setup_cfg) + sdk_version=$(get_sdk_version_from_pyproject_toml) # create a branch to merge the release branch and main git checkout -b merge_release/$sdk_version