diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index d3603b82983..7349835330f 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -27,19 +27,19 @@ jobs: - name: Validate version format run: | validate_beta_version() { - local regex_pattern_beta='^[0-9]+\.[0-9]+\.[0-9]+$' - if [[ ! "$1" =~ $regex_pattern_beta ]]; then - echo "Invalid $2 version format. For beta, it can be 0.1.0 or higher" - exit 1 - fi + # local regex_pattern_beta='^[0-9]+\.[0-9]+\.[0-9]+$' + # if [[ ! "$1" =~ $regex_pattern_beta ]]; then + # echo "Invalid $2 version format. For beta, it can be 0.1.0 or higher" + # exit 1 + # fi } validate_stable_version() { - local regex_pattern_stable='^[1-9][0-9]*\.[0-9]+\.[0-9]+$' - if [[ ! "$1" =~ $regex_pattern_stable ]]; then - echo "Invalid stable version format for $2. Major version must be greater than 1." - exit 1 - fi + # local regex_pattern_stable='^[1-9][0-9]*\.[0-9]+\.[0-9]+$' + # if [[ ! "$1" =~ $regex_pattern_stable ]]; then + # echo "Invalid stable version format for $2. Major version must be greater than 1." + # exit 1 + # fi } validate_beta_version "${{ inputs.candidate-beta }}" "candidate-beta"