We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e25d125 commit 0aa1eb3Copy full SHA for 0aa1eb3
.github/workflows/release-compile-changelog.yml
@@ -162,7 +162,9 @@ jobs:
162
echo "Using branch: $SELECTED_BRANCH"
163
echo "Generating changelog for version: $VERSION"
164
165
- # Normalize the version by removing .0 patch if present, as the changelog command does not support it
+ # Normalize version for use with changelog command.
166
+ VERSION=$(echo "$VERSION" | grep -oP '\d+\.\d+\.\d+')
167
+
168
if [[ $VERSION =~ ^[0-9]+\.[0-9]+\.0$ ]]; then
169
VERSION=${VERSION%.0}
170
fi
0 commit comments