We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a970082 commit 675479aCopy full SHA for 675479a
1 file changed
entrypoint.sh
@@ -166,7 +166,12 @@ declare -A history_type=(
166
log=${history_type[${branch_history}]}
167
printf "History:\n---\n%s\n---\n" "$log"
168
169
-current_tag="$(echo ${tag}| sed "s/${tagPrefix}//g")"
+if [ -z "$tagPrefix" ]
170
+then
171
+ current_tag=${tag}
172
+else
173
+ current_tag="$(echo ${tag}| sed "s/${tagPrefix}//g")"
174
+fi
175
case "$log" in
176
*$major_string_token* ) new=${tagPrefix}$(semver -i major "${current_tag}"); part="major";;
177
*$minor_string_token* ) new=${tagPrefix}$(semver -i minor "${current_tag}"); part="minor";;
0 commit comments