File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ generate_new_version_as_tag() {
160160 if [ " $project_type " == " python" ]; then
161161 echo " 🔎 🐍 📦 Get the new version info from Python package."
162162 New_Release_Version=$( cat ./" $Input_Arg_Python_Pkg_Name " /__pkg_info__.py | grep -E " $Python_Version_Reg " | grep -E -o " $Software_Version_Reg " )
163+ New_Release_Tag=$New_Release_Version
163164 elif [ " $project_type " == " github-action_reusable-workflow" ]; then
164165 echo " 🔎 🐙 🐈 🏷 Get the current version info from GitHub release."
165166 # Generate the new version from previous tag
@@ -172,9 +173,8 @@ generate_new_version_as_tag() {
172173 current_ver=0
173174 fi
174175 New_Release_Version=$(( current_ver + 1 ))
176+ New_Release_Tag=' v' $New_Release_Version ' .0.0'
175177 fi
176-
177- New_Release_Tag=' v' $New_Release_Version ' .0.0'
178178}
179179
180180
You can’t perform that action at this time.
0 commit comments