Skip to content

Commit

Permalink
Fix release version check script
Browse files Browse the repository at this point in the history
  • Loading branch information
curquiza committed Jul 1, 2024
1 parent c191efc commit 3dc78d2
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 3dc78d2

Please sign in to comment.