We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55a966c commit 4b4475eCopy full SHA for 4b4475e
.github/workflows/release.yml
@@ -47,7 +47,7 @@ jobs:
47
fi
48
49
# Extract version from dry run output
50
- version=$(echo "$dry_run_output" | grep -o "The next release version is [0-9]\+\.[0-9]\+\.[0-9]\+" | cut -d ' ' -f6)
+ version=$(echo "$dry_run_output" | grep -oP "The next release version is \K[0-9]\+\.[0-9]\+\.[0-9]\+" | cut -d ' ' -f6)
51
if [ -z "$version" ]; then
52
echo "Error: Could not determine version"
53
exit 1
0 commit comments