kou commented on pull request #12355:
URL: https://github.com/apache/arrow/pull/12355#issuecomment-1031944082


   How about checking the minor and patch version in the first argument?
   
   ```shell
   case "${version}" in
     *.0.0)
       is_major_release=yes
       ;;
     *)
       is_major_release=no
       ;;
   esac
   ```
   
   If we need to change the number of arguments depending on context, a human 
error will occur.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to