We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 213d632 + 5f3a02c commit f59ea02Copy full SHA for f59ea02
.github/workflows/release-asgardeo-docs.yml
@@ -107,7 +107,7 @@ jobs:
107
git checkout $GIT_BRANCH_NAME
108
109
# Extracting the current version line from the YAML file
110
- CURRENT_VERSION_LINE=$(grep "$VERSION_LINE_PREFIX" "$VERSION_FILE_PATH")
+ CURRENT_VERSION_LINE=$(grep "$VERSION_LINE_PREFIX" "$VERSION_FILE_PATH" | sed 's/^[[:space:]]*//;s/[[:space:]]*$//')
111
112
# Replacing the current version line with the new version line
113
NEW_VERSION_LINE="${VERSION_LINE_PREFIX}${{ env.NEW_VERSION }}"
0 commit comments