File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 - CURRENT_BRANCH=${TRAVIS_BRANCH}
3535 - UTPLSQL_REPO="utPLSQL/utPLSQL"
3636 - UTPLSQL_BUILD_NO="${TRAVIS_BUILD_NUMBER:-0}"
37- - UTPLSQL_VERSION_PLACEHOLDER='utPLSQL - Version '
37+ - UTPLSQL_VERSION_PATTERN='v?([0-9X]+\.){3}[0-9X]+ '
3838 - UTPLSQL_VERSION=$(. .travis/get_project_version.sh)
3939 - UTPLSQL_BUILD_VERSION=$(. .travis/get_project_build_version.sh)
4040 - UTPLSQL_SOURCES_DIR='source'
Original file line number Diff line number Diff line change 33echo Current branch is " ${CURRENT_BRANCH} "
44
55echo Update version in project source files
6- find ${UTPLSQL_SOURCES_DIR} -type f -name ' *' -exec sed -i -r " s/( ${UTPLSQL_VERSION_PLACEHOLDER} )[^']*(')?/\1 ${UTPLSQL_BUILD_VERSION} \2 /" {} \;
6+ find ${UTPLSQL_SOURCES_DIR} -type f -name ' *' -exec sed -i -r " s/${UTPLSQL_VERSION_PATTERN} / ${UTPLSQL_BUILD_VERSION} /" {} \;
77echo Source files updated with version tag: ${UTPLSQL_BUILD_VERSION}
88
99echo Update of sonar-project.properties sonar.projectVersion
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ create or replace package ut_utils authid definer is
2222
2323 */
2424
25- gc_version constant varchar2(50) := 'utPLSQL - Version X.X.X.X';
25+ gc_version constant varchar2(50) := 'X.X.X.X';
2626
2727 /* Constants: Event names */
2828 gc_run constant varchar2(12) := 'run';
@@ -218,12 +218,12 @@ create or replace package ut_utils authid definer is
218218 procedure append_to_clob(a_src_clob in out nocopy clob, a_new_data varchar2);
219219
220220 function convert_collection(a_collection ut_varchar2_list) return ut_varchar2_rows;
221-
221+
222222 /**
223223 * Set session's action and module using dbms_application_info
224224 */
225225 procedure set_action(a_text in varchar2);
226-
226+
227227 /**
228228 * Set session's client info using dbms_application_info
229229 */
You can’t perform that action at this time.
0 commit comments