File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1- name : Pre-release - Bump version & Draft Release
1+ name : Pre-release - Bump version & draft release
22on :
33 workflow_dispatch :
44 inputs :
1111 default : " main"
1212
1313jobs :
14- create_bump_commit :
14+ pre_release :
1515 runs-on : ubuntu-latest
16- name : create bump commit PR
16+ name : Bump version & draft release
1717 steps :
1818 - uses : actions/checkout@v4
1919 with :
@@ -53,17 +53,16 @@ jobs:
5353 - name : create draft release
5454 run : |
5555 curl https://raw.githubusercontent.com/kili-technology/kili-python-sdk/main/.github/scripts/utils.sh --output utils.sh
56- source ./utils.sh # to get the bump_version function
56+ source ./utils.sh # to get the get_sdk_version_from_pyproject_toml function
5757
5858 # Get release version
5959 release_version=$(get_sdk_version_from_pyproject_toml)
6060 echo "Release version: $release_version"
6161
6262 # tag and push the tag
63- # -f to overwrite the tag if it already exists
6463 # -a to create an annotated tag
6564 git fetch --quiet
66- git tag -f - a $release_version -m "Release $release_version"
65+ git tag -a $release_version -m "Release $release_version"
6766 git push origin $release_version
6867
6968 # create draft release
You can’t perform that action at this time.
0 commit comments