We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 674e2ec commit bba4132Copy full SHA for bba4132
container/build.sh
@@ -32,7 +32,7 @@ commit_id=$(git rev-parse --short HEAD)
32
current_tag=$(git describe --tags --exact-match 2>/dev/null | sed 's/^v//') || true
33
34
# Get latest TAG and add COMMIT_ID for dev
35
-latest_tag=$(git describe --tags --abbrev=0 "$(git rev-list --tags --max-count=1 main)" | sed 's/^v//') || true
+latest_tag=$(git describe --tags --abbrev=0 "$(git rev-list --tags --max-count=1)" | sed 's/^v//') || true
36
if [[ -z ${latest_tag} ]]; then
37
latest_tag="0.0.1"
38
echo "No git release tag found, setting to unknown version: ${latest_tag}"
0 commit comments