Skip to content

Commit fe6d81c

Browse files
authored
Fix release calculation and notes (#1542)
1 parent 75d777d commit fe6d81c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/prepare_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: |
2929
if [ "${VERSION}" = "" ] ; then
3030
LATEST_TAG=$(git describe --tags --abbrev=0)
31-
NEXT_TAG=$(echo ${LATEST_TAG} | awk '{split($0, a, "."); print a[1] "." a[2] + 1 "." a[3]}')
31+
NEXT_TAG=$(echo ${LATEST_TAG} | awk '{split($0, a, "."); print a[1] "." a[2] + 1 ".0"}')
3232
echo "version=$NEXT_TAG" >> $GITHUB_OUTPUT
3333
else
3434
echo "version=$VERSION" >> $GITHUB_OUTPUT

RELEASING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The release process is controlled and run by GitHub Actions.
2222
### Update Changelog
2323

2424
1. Open [prepare release](https://github.com/DataDog/datadog-api-client-python/actions/workflows/prepare_release.yml) and click on `Run workflow` dropdown.
25-
1. Enter new version identifier in the `New version number` input box (e.g. `1.10.0`).
25+
1. If needed, enter new version identifier in the `New version number` input box (e.g. `1.10.0`). The default updates the previous minor.
2626
1. Trigger the action by clicking on `Run workflow` button.
2727

2828
### Review

0 commit comments

Comments
 (0)