X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fshell%2Fmake-tar.sh;h=4c70134ab93b7378f548c32da63e48d190c0bf65;hb=a1b01c2314a2b6901b23b1a8083945b77421c77f;hp=0e8aae0e401342ea0da3a480d322ebfd0611a680;hpb=9eed514f9bcef08aa7ae65ab6cd64cb2aeea9e6c;p=ci-management.git diff --git a/jjb/shell/make-tar.sh b/jjb/shell/make-tar.sh index 0e8aae0..4c70134 100644 --- a/jjb/shell/make-tar.sh +++ b/jjb/shell/make-tar.sh @@ -14,7 +14,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +sudo yum install -y dos2unix # shellcheck source="$WORKSPACE/version.properties" disable=SC1091 +dos2unix "${WORKSPACE}/version.properties" source "$WORKSPACE/version.properties" TAR_NAME="${PROJECT}-${VERSION}-SNAPSHOT.tgz" TARDIR=$UPLOAD_FILES_PATH