File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -109,12 +109,9 @@ function check_tag_correct() {
109109 tapd_version=" v${BASH_REMATCH[1]} "
110110 green " version: $tapd_version "
111111
112- # If tag contains a release candidate suffix, append this suffix to the
113- # tapd reported version before we compare.
114- RC_REGEX=" -rc[0-9]+$"
115- if [[ $tag =~ $RC_REGEX ]]; then
116- tapd_version+=${BASH_REMATCH[0]}
117- fi
112+ # If the tapd reported version contains a suffix, remove it, so we can match
113+ # the tag properly.
114+ tapd_version=$( echo " $tapd_version " | sed -e ' s/-\(alpha\|beta\)\(\.rc[0-9]\+\)\?//g' )
118115
119116 # Match git tag with tapd version.
120117 if [[ $tag != " ${tapd_version} " ]]; then
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ const (
4949
5050 // AppPreRelease MUST only contain characters from semanticAlphabet
5151 // per the semantic versioning spec.
52- AppPreRelease = "alpha.rc1 "
52+ AppPreRelease = "alpha"
5353
5454 // defaultAgentName is the default name of the software that is added as
5555 // the first part of the user agent string.
You can’t perform that action at this time.
0 commit comments