diff --git a/Dockerfile b/Dockerfile index 3778fbf5c..0431b5f26 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ WORKDIR /meilisearch COPY Cargo.lock . COPY Cargo.toml . +COPY meilisearch-auth/Cargo.toml meilisearch-auth/ COPY meilisearch-error/Cargo.toml meilisearch-error/ COPY meilisearch-http/Cargo.toml meilisearch-http/ COPY meilisearch-lib/Cargo.toml meilisearch-lib/ diff --git a/download-latest.sh b/download-latest.sh index d4f1ca2ce..5001103e6 100644 --- a/download-latest.sh +++ b/download-latest.sh @@ -80,7 +80,7 @@ get_latest() { fi releases=$(cat "$temp_file" | \ - grep -E "tag_name|draft|prerelease" \ + grep -E '"tag_name":|"draft":|"prerelease":' \ | tr -d ',"' | cut -d ':' -f2 | tr -d ' ') # Returns a list of [tag_name draft_boolean prerelease_boolean ...] # Ex: v0.10.1 false false v0.9.1-rc.1 false true v0.9.0 false false...