Skip to content

Commit

Permalink
fixed warning for docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
awicenec committed Sep 20, 2024
1 parent 046518e commit 003cc77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion daliuge-common/build_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

case "$1" in
"dep")
export VCS_TAG=`git describe --tags --abbrev=0|sed s/v//`
export VCS_TAG=`git describe --tags --abbrev=0 --always|sed s/v//`
echo "Building daliuge-common version using tag ${VCS_TAG}"
docker build --build-arg VCS_TAG=${VCS_TAG} --no-cache -t icrar/daliuge-common:${VCS_TAG} -f docker/Dockerfile .
echo "Build finished!"
Expand Down
2 changes: 1 addition & 1 deletion daliuge-engine/build_engine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# branch name or with a release tag depending whether this is a development or deployment
# version.

export VCS_TAG=`git describe --tags --abbrev=0|sed s/v//`
export VCS_TAG=`git describe --tags --abbrev=0 --always|sed s/v//`
export DEV_TAG=`git rev-parse --abbrev-ref HEAD | tr '[:upper:]' '[:lower:]'`

case "$1" in
Expand Down
2 changes: 1 addition & 1 deletion daliuge-engine/run_engine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ then
export VCS_TAG=$2
export C_TAG=$VCS_TAG
else
export VCS_TAG=`git describe --tags --abbrev=0|sed s/v//`
export VCS_TAG=`git describe --tags --abbrev=0 --always|sed s/v//`
export C_TAG=`git rev-parse --abbrev-ref HEAD | tr '[:upper:]' '[:lower:]'`
fi
case "$1" in
Expand Down

0 comments on commit 003cc77

Please sign in to comment.