Skip to content

Commit

Permalink
update generate artifact hash script
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingxyk committed Dec 7, 2024
1 parent d30aacb commit b2c0122
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion sapi/scripts/generate-artifact-hash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,28 @@ __PROJECT__=$(
cd ${__PROJECT__}

OS=$(uname -s)
ARCH=$(uname -m)
case $OS in
'Linux')
OS="linux"
;;
'Darwin')
OS="macos"
;;
*)
case $OS in
'MSYS_NT'*)
OS="windows"
;;
'MINGW64_NT'*)
OS="windows"
;;
*)
echo '暂未配置的 OS '
exit 0
;;
esac
;;
esac

APP_VERSION='v5.1.6'
APP_NAME='swoole-cli'
Expand Down

0 comments on commit b2c0122

Please sign in to comment.