Skip to content

Commit

Permalink
bug: Fix git tag version (#692)
Browse files Browse the repository at this point in the history
* use git version by default

Signed-off-by: Jinjing.Zhou <allenzhou@tensorchord.ai>

* fix

Signed-off-by: Jinjing.Zhou <allenzhou@tensorchord.ai>

* fix

Signed-off-by: Jinjing.Zhou <allenzhou@tensorchord.ai>

* remove prefix v

Signed-off-by: Jinjing.Zhou <allenzhou@tensorchord.ai>

* fix

Signed-off-by: Jinjing.Zhou <allenzhou@tensorchord.ai>
  • Loading branch information
VoVAllen committed Jul 29, 2022
1 parent 0d69425 commit 4dffb5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base-images/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

ROOT_DIR=`dirname $0`

GIT_TAG_VERSION=$(git describe --tags --abbrev=0)
GIT_TAG_VERSION=${$(git describe --tags --abbrev=0)//v/} # remove v from version
ENVD_VERSION="${ENVD_VERSION:-$GIT_TAG_VERSION}"
DOCKER_HUB_ORG="${DOCKER_HUB_ORG:-tensorchord}"
PYTHON_VERSION="${PYTHON_VERSION:-3.9}"
Expand Down

0 comments on commit 4dffb5d

Please sign in to comment.