Skip to content

Commit 83d2d48

Browse files
chore: do not force tag creation
1 parent 044966a commit 83d2d48

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/pre_release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Pre-release - Bump version & Draft Release
1+
name: Pre-release - Bump version & draft release
22
on:
33
workflow_dispatch:
44
inputs:
@@ -11,9 +11,9 @@ on:
1111
default: "main"
1212

1313
jobs:
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

0 commit comments

Comments
 (0)