Fix bug in docker build script 51/38251/1
authorSastry Isukapalli <sastry@research.att.com>
Sat, 24 Mar 2018 06:16:50 +0000 (02:16 -0400)
committerSastry Isukapalli <sastry@research.att.com>
Sat, 24 Mar 2018 06:17:27 +0000 (02:17 -0400)
Fixed a spurios typo in date command

Issue-ID: OPTFRA-22
Change-Id: I4a9b02f52d07bba2091b95ab201c9fc0b252f971
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
docker/build_image.sh

index 8f05866..b20e597 100755 (executable)
@@ -25,7 +25,7 @@ IMAGE_NAME=$DOCKER_REPOSITORY/$ORG/$PROJECT
 # Version properties
 source version.properties
 VERSION=$release_version
-STAGING=${release_version}-SNAPSHOT-$(date -u +date -u '+%Y%m%dT%H%M%SZ')
+STAGING=${release_version}-SNAPSHOT-$(date -u '+%Y%m%dT%H%M%SZ')
 
 function log_ts() {  # Log message with timestamp
     echo [DEBUG LOG at $(date -u +%Y%m%d:%H%M%S)] "$@"