Make sure that version.properties is a *nix file 55/155/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Fri, 27 Jul 2018 22:35:59 +0000 (15:35 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Fri, 27 Jul 2018 22:35:59 +0000 (15:35 -0700)
Change-Id: Icd024190bd0b34a8b9c5d83695916ce553d376a4
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
jjb/shell/make-tar.sh

index 0e8aae0..68951af 100644 (file)
@@ -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