Skip to content

Commit

Permalink
Merge pull request #1681 from meilisearch/fix-release-ci
Browse files Browse the repository at this point in the history
Fix release version check script
  • Loading branch information
brunoocasali authored Jul 1, 2024
2 parents c191efc + 3dc78d2 commit 01f51b4
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 @@ -10,7 +10,7 @@ if [ "$current_tag" != "$package_json_version" ]; then
exit 1
fi

package_version_ts=$(grep "PACKAGE_VERSION =" src/package-version.ts | cut -d "=" -f 2- | tr -d " " | tr -d "'")
package_version_ts=$(grep "PACKAGE_VERSION =" src/package-version.ts | cut -d "=" -f 2- | tr -d ';' | tr -d " " | tr -d "'")
if [ "$current_tag" != "$package_version_ts" ]; then
echo "Error: the current tag does not match the version in src/package-version.ts."
echo "$current_tag vs $package_version_ts"
Expand Down

0 comments on commit 01f51b4

Please sign in to comment.