@@ -188,7 +188,8 @@ if [ "$release_type" == 'python-package' ]; then
188188 echo " build tag and create GitHub release, also push code to PyPi"
189189 build_git_tag_or_github_release
190190 echo " Done! This is Official-Release so please push source code to PyPi."
191- export RELEASE_TYPE=" Official"
191+ # RELEASE_TYPE="Official"; export RELEASE_TYPE
192+ echo " Official" >> $RELEASE_TYPE
192193 echo " [Final Running Result] Official-Release"
193194 else
194195 echo " The version is a pre-release."
@@ -200,7 +201,8 @@ if [ "$release_type" == 'python-package' ]; then
200201 echo " build tag and create GitHub release only"
201202 build_git_tag_or_github_release
202203 echo " Done! This is Pre-Release so please don't push this to PyPi."
203- export RELEASE_TYPE=" Pre"
204+ # RELEASE_TYPE="Pre"; export RELEASE_TYPE
205+ echo " Pre" >> $RELEASE_TYPE
204206 echo " [Final Running Result] Pre-Release"
205207 fi
206208
@@ -230,7 +232,8 @@ elif [ "$release_type" == 'github-action-reusable-workflow' ]; then
230232 # 1. Yes, it has different. -> Build git tag, GitHub release and version branch
231233 build_git_tag_or_github_release
232234 echo " Done! This is Official-Release of GitHub Action reusable workflow, please create a version branch of it."
233- export RELEASE_TYPE=" $new_ver "
235+ # RELEASE_TYPE="$new_ver"; export RELEASE_TYPE
236+ echo " $new_ver " >> $RELEASE_TYPE
234237 echo " [Final Running Result] Official-Release"
235238
236239# current_ver=$(git describe --tag --abbrev=0 --match "v[0-9]\.[0-9]\.[0-9]" | grep -E -o '[0-9]\.[0-9]\.[0-9]' | head -n1 | cut -d "." -f1)
@@ -254,7 +257,8 @@ elif [ "$release_type" == 'github-action-reusable-workflow' ]; then
254257 # 1. No, do nothing.
255258 # Return nothing output
256259 echo " Release note file doesn't change. Don't do anything."
257- export RELEASE_TYPE=" Pre"
260+ # RELEASE_TYPE="Pre"; export RELEASE_TYPE
261+ echo " Pre" >> $RELEASE_TYPE
258262 echo " [Final Running Result] Pre-Release"
259263 fi
260264
0 commit comments