We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f76cdc8 commit 607d166Copy full SHA for 607d166
scripts/pre-release.sh
@@ -87,6 +87,15 @@ function bumpVersion() {
87
mv ${module_file}.tmp ${module_file}
88
fi
89
done
90
+
91
+ readonly commonFile="${ROOT_DIR}/docs/features/common_functional_options.md"
92
+ if [[ "${DRY_RUN}" == "true" ]]; then
93
+ echo "sed \"s/${NON_RELEASED_STRING}/${RELEASED_STRING}/g\" ${commonFile} > ${commonFile}.tmp"
94
+ echo "mv ${commonFile}.tmp ${commonFile}"
95
+ else
96
+ sed "s/${NON_RELEASED_STRING}/${RELEASED_STRING}/g" ${commonFile} > ${commonFile}.tmp
97
+ mv ${commonFile}.tmp ${commonFile}
98
+ fi
99
}
100
101
# This function reads the version.go file and extracts the current version.
0 commit comments