Skip to content

Commit c4c8ec9

Browse files
authored
Merge pull request #60 from coreweave/ga/fix_publish_ci
refactor(ci): Add --alwyas flag to previous version check in ci publish script
2 parents 39305b2 + f801f9e commit c4c8ec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ REGISTRY_PASSWORD=$(jq -r ".auths[\"$CI_REGISTRY\"].password" "$AUTH_FILE")
2828
# Select Docker images to tag.
2929
success=true
3030
docker_registry="docker://$CI_REGISTRY"
31-
previous_version=$(git describe origin/main^ --tags --abbrev=0)
31+
previous_version=$(git describe origin/main^ --tags --abbrev=0 --always)
3232
ci_file=".github/workflows/build-images.yaml"
3333

3434
# This extracts the images from the build-images.yaml file and handles cases where the image-tag-suffix is present

0 commit comments

Comments
 (0)