We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2637f5 commit 604c145Copy full SHA for 604c145
1 file changed
.github/workflows/prepare_release.yml
@@ -46,7 +46,7 @@ jobs:
46
run: |
47
if [ "${VERSION}" = "" ] ; then
48
LATEST_TAG=$(git describe --tags --abbrev=0)
49
- NEXT_VERSION=$(echo ${LATEST_TAG#datadog-api-client-} | awk '{split($0, a, "."); print a[1] "." a[2] + 1 "." a[3]}')
+ NEXT_VERSION=$(echo ${LATEST_TAG#datadog-api-client-} | awk '{split($0, a, "."); print a[1] "." a[2] + 1 ".0"}')
50
echo "version=$NEXT_VERSION" >> $GITHUB_OUTPUT
51
else
52
echo "version=$VERSION" >> $GITHUB_OUTPUT
0 commit comments