Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1236007

Browse files
authored
Merge pull request #328 from utPLSQL/bugfix/fixed_missing_bild_no_in_version
Bugfix/fixed missing bild no in version
2 parents a954a60 + 574ba3d commit 1236007

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.travis/build_release_archive.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ mv -f .gitattributes.release .gitattributes
99
git add .
1010
git commit -m "tmp commit for building a release archive"
1111

12-
git archive --prefix="utPLSQL${UTPLSQL_BUILD_VERSION}"/ -o "utPLSQL${UTPLSQL_BUILD_VERSION}".zip --format=zip HEAD
13-
git archive --prefix="utPLSQL${UTPLSQL_BUILD_VERSION}"/ -o "utPLSQL${UTPLSQL_BUILD_VERSION}".tar.gz --format=tar.gz HEAD
12+
# git archive --prefix="utPLSQL${UTPLSQL_BUILD_VERSION}"/ -o "utPLSQL${UTPLSQL_BUILD_VERSION}".zip --format=zip HEAD
13+
# git archive --prefix="utPLSQL${UTPLSQL_BUILD_VERSION}"/ -o "utPLSQL${UTPLSQL_BUILD_VERSION}".tar.gz --format=tar.gz HEAD
14+
15+
git archive --prefix=utPLSQL/ -o utPLSQL.zip --format=zip HEAD
16+
git archive --prefix=utPLSQL/ -o utPLSQL.tar.gz --format=tar.gz HEAD
1417

1518

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/usr/bin/env bash
2-
echo `sed -r "s/(v?[0-9]+\.)([0-9]+\.)([0-9]+)(-.*)/\1\2\3\.${UTPLSQL_BUILD_NO}\4/" <<< "${UTPLSQL_VERSION}"`
2+
echo `sed -r "s/(v?[0-9]+\.)([0-9]+\.)([0-9]+)(-.*)?/\1\2\3\.${UTPLSQL_BUILD_NO}\4/" <<< "${UTPLSQL_VERSION}"`

0 commit comments

Comments
 (0)