Skip to content

Commit

Permalink
Merge pull request #22 from hiwakaba/master
Browse files Browse the repository at this point in the history
Fixes the build errors
  • Loading branch information
hiwakaba committed May 9, 2023
2 parents ef5fa41 + 7bbee6d commit 7bcdd7a
Show file tree
Hide file tree
Showing 6 changed files with 1,752 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python_helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ CI_PACKAGECLOUD_OWNER="antpickax"
CI_PACKAGECLOUD_DOWNLOAD_REPO="stable"
CI_TWINE_USERNAME=""
CI_TWINE_PASSWORD=""
CI_FORCE_PUBLISHER=""
CI_FORCE_PUBLISHER="3.9"

CI_IN_SCHEDULE_PROCESS=0
CI_PUBLISH_TAG_NAME=""
Expand Down Expand Up @@ -188,7 +188,7 @@ func_usage()
echo " Note:"
echo " Environment variables and options have the same parameter items."
echo " If both are specified, the option takes precedence."
hg echo " Environment variables are set from Github Actions Secrets, etc."
echo " Environment variables are set from Github Actions Secrets, etc."
echo " GITHUB_REF and GITHUB_EVENT_NAME environments are used internally."
echo ""
}
Expand Down Expand Up @@ -552,8 +552,8 @@ fi
if [ -n "${OPT_FORCE_PUBLISHER}" ]; then
CI_FORCE_PUBLISHER="${OPT_FORCE_PUBLISHER}"
elif [ -n "${ENV_FORCE_PUBLISHER}" ]; then
if echo "${ENV_FORCE_PUBLISHER}" | grep -q '^[0-9]'; then
PRNERR "\"ENV_FORCE_PUBLISHER\" environment:${ENV_FORCE_PUBLISHER} value must be Python version(ex, 3.6/3.8/3.10...)."
if [ "${ENV_FORCE_PUBLISHER}" = "3.9" ] || [ "${ENV_FORCE_PUBLISHER}" = "3.10" ] || [ "${ENV_FORCE_PUBLISHER}" = "3.11" ]; then
PRNERR "\"ENV_FORCE_PUBLISHER\" environment:${ENV_FORCE_PUBLISHER} value must be a valid Python version(ex, 3.6/3.8/3.10...)."
exit 1
fi
CI_FORCE_PUBLISHER="${ENV_FORCE_PUBLISHER}"
Expand Down
6 changes: 6 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
History
=======

1.0.3 (2023-05-08)
-------------------

* Fixes the build errors
* Sets the default python verison 3.9 in GitHubActions

1.0.2 (2023-01-13)
-------------------

Expand Down

0 comments on commit 7bcdd7a

Please sign in to comment.