diff --git a/publish.sh b/publish.sh index 3fa8343..d7d4f51 100755 --- a/publish.sh +++ b/publish.sh @@ -119,17 +119,17 @@ for TEMPLATE in $TEMPLATES_TO_PUBLISH; do info "Uploading $TEMPLATE to templates.dropshell.app" # Always upload with :latest tag - sos templates.dropshell.app "$TARBALL" "${TEMPLATE}:latest" || die "Failed to upload $TEMPLATE:latest" + sos upload templates.dropshell.app "$TARBALL" "${TEMPLATE}:latest" || die "Failed to upload $TEMPLATE:latest" info "Uploaded ${TEMPLATE}:latest" # Also upload with specific version tag - sos templates.dropshell.app "$TARBALL" "${TEMPLATE}:${VERSION}" || die "Failed to upload $TEMPLATE:${VERSION}" + sos upload templates.dropshell.app "$TARBALL" "${TEMPLATE}:${VERSION}" || die "Failed to upload $TEMPLATE:${VERSION}" info "Uploaded ${TEMPLATE}:${VERSION}" # If we have a major version, also tag with major version only (e.g., v1) MAJOR_VERSION=$(echo "$VERSION" | cut -d. -f1) if [ -n "$MAJOR_VERSION" ]; then - sos templates.dropshell.app "$TARBALL" "${TEMPLATE}:v${MAJOR_VERSION}" || die "Failed to upload $TEMPLATE:v${MAJOR_VERSION}" + sos upload templates.dropshell.app "$TARBALL" "${TEMPLATE}:v${MAJOR_VERSION}" || die "Failed to upload $TEMPLATE:v${MAJOR_VERSION}" info "Uploaded ${TEMPLATE}:v${MAJOR_VERSION}" fi