Skip to content

Commit f59ea02

Browse files
authored
Merge pull request #4121 from ashensw/asgardeo-docs
Improve asgardeo docs release workflow
2 parents 213d632 + 5f3a02c commit f59ea02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-asgardeo-docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
git checkout $GIT_BRANCH_NAME
108108
109109
# Extracting the current version line from the YAML file
110-
CURRENT_VERSION_LINE=$(grep "$VERSION_LINE_PREFIX" "$VERSION_FILE_PATH")
110+
CURRENT_VERSION_LINE=$(grep "$VERSION_LINE_PREFIX" "$VERSION_FILE_PATH" | sed 's/^[[:space:]]*//;s/[[:space:]]*$//')
111111
112112
# Replacing the current version line with the new version line
113113
NEW_VERSION_LINE="${VERSION_LINE_PREFIX}${{ env.NEW_VERSION }}"

0 commit comments

Comments
 (0)