Skip to content

Commit 5a20b09

Browse files
authored
Prepare 3.0.1 release (#839)
1 parent e974005 commit 5a20b09

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎.github/workflows/cd.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ jobs:
2626
persist-credentials: false
2727
- uses: ./.github/actions/setup-sdk-environment
2828
with:
29-
python-version: 3.13
3029
deps-group: release
3130
- name: Set pre-release version
32-
if: startsWith(github.ref, 'refs/tags/') != true
31+
if: startsWith(github.ref, 'refs/tags/') == false
3332
env:
3433
RUN_NUMBER: ${{ github.run_number }}
3534
run: |
@@ -41,7 +40,8 @@ jobs:
4140
VERSION_TAG: ${{ github.event.release.tag_name }}
4241
run: |
4342
[[ ${VERSION_TAG} != $(uv version --short) ]] && {
44-
printf "Git tag should be identical to version field in pyproject.toml"
43+
printf "To prevent pre-releases being versioned incorrectly, \
44+
target package version needs to be set in pyproject.toml first.\n"
4545
exit 1
4646
}
4747
uv version "${VERSION_TAG}"

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ issues = "https://github.com/splunk/splunk-sdk-python/issues"
88

99
[project]
1010
name = "splunk-sdk"
11-
version = "3.0.1a0"
11+
version = "3.0.1"
1212
description = "Splunk Software Development Kit for Python"
1313
readme = "README.md"
1414
requires-python = ">=3.13"

‎uv.lock‎

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)