message: Adapt check release script to be compatible with beta versions
diff: #!/bin/sh
  # Checking if current tag matches the package version
  -current_tag=$(echo $GITHUB_REF | tr -d 'refs/tags/v')
  +current_tag=$(echo $GITHUB_REF | cut -d '/' -f 3 | tr -d ' ',v)
  file_tag=$(grep '"version":' package.json | 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)."
  