message: Improve the check tag format script
diff: @@ -5,11 +5,11 @@ is_pre_release=$1
  current_tag=$(echo $GITHUB_REF | cut -d '/' -f 3 | tr -d ' ',v)
  if [ $is_pre_release = false ]; then
  - # Works with the format vX.X.X
  + # Works with the format vX.X.X, X being numbers
  #
  # Example of correct format:
  # v0.1.0
  - echo "$current_tag" | grep -E "[0-9]*\.[0-9]*\.[0-9]*$"
  + echo "$current_tag" | grep -E "^[0-9]+\.[0-9]+\.[0-9]+$"
  if [ $? != 0 ]; then
  echo "Error: Your tag: $current_tag is wrongly formatted."
  echo 'Please refer to the contributing guide for help.'
  @@ -17,14 +17,12 @@ if [ $is_pre_release = false ]; then
  fi
  exit 0
  elif [ $is_pre_release = true ]; then
  - # Works with the format vX.X.X-xxx-beta.X
  - # none or multiple -xxx are valid
  + # Works with the format vX.X.X-**.X, X being numbers
  #
  # Examples of correct format:
  - # v0.1.0-beta.0
  - # v0.1.0-xxx-beta.0
  - # v0.1.0-xxx-xxx-beta.0
  - echo "$current_tag" | grep -E "[0-9]*\.[0-9]*\.[0-9]*-([a-z]*-)*beta\.[0-9]*$"
  + # 0.2.0-pagination.1
  + # 0.2.0-v0.30.0-pre-release.0
  + echo "$current_tag" | grep -E "^[0-9]+\.[0-9]+\.[0-9]+-.*\.[0-9]*$"
  if [ $? != 0 ]; then
  echo "Error: Your beta tag: $current_tag is wrongly formatted."
  