Skip to content

Commit

Permalink
Merge pull request #392 from sanders41/script
Browse files Browse the repository at this point in the history
Update version file path
  • Loading branch information
alallema authored Jun 1, 2023
2 parents e69a8c7 + 8b79cb2 commit e235240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/check-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Checking if current tag matches the package version
current_tag=$(echo $GITHUB_REF | cut -d '/' -f 3 | sed -r 's/^v//')
file_tag=$(grep '__version__ =' meilisearch/version.py | cut -d '=' -f 2- | tr -d ' ' | tr -d '"' | tr -d ',')
file_tag=$(grep '__version__ =' scraper/src/config/version.py | cut -d '=' -f 2- | tr -d ' ' | tr -d '"' | tr -d ',')
if [ "$current_tag" != "$file_tag" ]; then
echo "Error: the current tag does not match the version in package file(s)."
echo "$current_tag vs $file_tag"
Expand Down

0 comments on commit e235240

Please sign in to comment.