Update .github/scripts/check-release.sh

Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
Clémentine Urquizar - curqui 2022-06-21 10:14:24 +02:00 committed by GitHub
parent c484d28646
commit de16de20f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,11 +2,8 @@
# Checking if current tag matches the package version
current_tag=$(echo $GITHUB_REF | tr -d 'refs/tags/v')
file1='meilisearch-auth/Cargo.toml'
file2='meilisearch-http/Cargo.toml'
file3='meilisearch-lib/Cargo.toml'
file4='meilisearch-types/Cargo.toml'
file5='Cargo.lock'
files='*/Cargo.toml'
lock_file='Cargo.lock'
file5=$(grep -A 1 'name = "meilisearch-auth"' $file5 | grep version)