From: Andrew Grimberg Date: Fri, 27 Jul 2018 22:35:59 +0000 (-0700) Subject: Make sure that version.properties is a *nix file X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=commitdiff_plain;h=7788160368ef651c048aabfebebf125ddf22235b Make sure that version.properties is a *nix file Change-Id: Icd024190bd0b34a8b9c5d83695916ce553d376a4 Signed-off-by: Andrew Grimberg --- diff --git a/jjb/shell/make-tar.sh b/jjb/shell/make-tar.sh index 0e8aae0..68951af 100644 --- a/jjb/shell/make-tar.sh +++ b/jjb/shell/make-tar.sh @@ -15,6 +15,7 @@ # limitations under the License. # 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