From 3ffdf3bce4f26bee7c13e0dd2044a0da8a90acf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Tue, 23 May 2017 10:08:25 +0530 Subject: [PATCH 1/2] Update get_project_build_version.sh --- .travis/get_project_build_version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis/get_project_build_version.sh b/.travis/get_project_build_version.sh index bd611792b..6f759bf99 100644 --- a/.travis/get_project_build_version.sh +++ b/.travis/get_project_build_version.sh @@ -1,2 +1,2 @@ #!/usr/bin/env bash -echo `sed -r "s/(v?[0-9]+\.)([0-9]+\.)([0-9]+)(-.*)/\1\2\3\.${UTPLSQL_BUILD_NO}\4/" <<< "${UTPLSQL_VERSION}"` +echo `sed -r "s/(v?[0-9]+\.)([0-9]+\.)([0-9]+)(-.*)?/\1\2\3\.${UTPLSQL_BUILD_NO}\4/" <<< "${UTPLSQL_VERSION}"` From 2bf69a48afbe82d07c8b9b96e1e429fba2c7b460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Tue, 23 May 2017 10:17:44 +0530 Subject: [PATCH 2/2] Cleanup of release archive name Removed version number from archive name and archive directory. This change is intended to simplify automation for download and isntallation of latest utPLSQL version. The unzip/install scripts can now assume that archive name is `utPSLQL.[zip|tar.gz]` and all the sources are in `utPLSQL/source` directory --- .travis/build_release_archive.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis/build_release_archive.sh b/.travis/build_release_archive.sh index 05756efe5..ecd54479a 100644 --- a/.travis/build_release_archive.sh +++ b/.travis/build_release_archive.sh @@ -9,7 +9,10 @@ mv -f .gitattributes.release .gitattributes git add . git commit -m "tmp commit for building a release archive" -git archive --prefix="utPLSQL${UTPLSQL_BUILD_VERSION}"/ -o "utPLSQL${UTPLSQL_BUILD_VERSION}".zip --format=zip HEAD -git archive --prefix="utPLSQL${UTPLSQL_BUILD_VERSION}"/ -o "utPLSQL${UTPLSQL_BUILD_VERSION}".tar.gz --format=tar.gz HEAD +# git archive --prefix="utPLSQL${UTPLSQL_BUILD_VERSION}"/ -o "utPLSQL${UTPLSQL_BUILD_VERSION}".zip --format=zip HEAD +# git archive --prefix="utPLSQL${UTPLSQL_BUILD_VERSION}"/ -o "utPLSQL${UTPLSQL_BUILD_VERSION}".tar.gz --format=tar.gz HEAD + +git archive --prefix=utPLSQL/ -o utPLSQL.zip --format=zip HEAD +git archive --prefix=utPLSQL/ -o utPLSQL.tar.gz --format=tar.gz HEAD