Skip to content

Commit

Permalink
chore(corax-java-wrapper-script): upgrade the corax engine version
Browse files Browse the repository at this point in the history
  • Loading branch information
notify committed Apr 9, 2024
1 parent 310069f commit 59c6f31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions coraxjw.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#

$CORAX_VERSION = "2.6"
$CORAX_VERSION = "2.8"
$CORAX_JAVA_ARTIFACT_NAME = "corax-java-cli-community-$CORAX_VERSION"
$CORAX_JAVA_ARTIFACT_ZIP = "$CORAX_JAVA_ARTIFACT_NAME.zip"
$CORAX_JAVA_CLI_NAME = "corax-cli-community-${CORAX_VERSION}.jar"
Expand Down Expand Up @@ -172,7 +172,7 @@ function _detect_corax() {
else {
$ARCHIVE_NAME=$CORAX_JAVA_ARTIFACT_ZIP
$CORAX_JAVA_RELEASE_URL = if (_is_china)
{"https://release.feysh.com/corax%2Fcorax-java-cli-community-2.6.zip?OSSAccessKeyId=LTAI5tKF4FQ2CGnhMA7oU58p&Expires=1738550438&Signature=gerVvL1taJfRCuxTaw6B1f2yx6g%3D" }
{"http://release.feysh.com/corax-java-group/corax-java-cli-community-2.8.zip?OSSAccessKeyId=LTAI5tKF4FQ2CGnhMA7oU58p&Expires=1713062793&Signature=FyVCtsGwJgfEbWdXV%2BA1SlPo4hQ%3D" }
else
{"https://github.com/Feysh-Group/corax-community/releases/download/v$CORAX_VERSION/$CORAX_JAVA_ARTIFACT_ZIP" }

Expand Down
4 changes: 2 additions & 2 deletions coraxjw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#
################################################################################

CORAX_VERSION=2.6
CORAX_VERSION=2.8
CORAX_JAVA_ARTIFACT_NAME="corax-java-cli-community-$CORAX_VERSION"
CORAX_JAVA_ARTIFACT_ZIP="$CORAX_JAVA_ARTIFACT_NAME.zip"
CORAX_JAVA_CLI_NAME="corax-cli-community-${CORAX_VERSION}.jar"
Expand Down Expand Up @@ -415,7 +415,7 @@ _detect_corax() {
if [[ $is_cn == "false" ]]; then
CORAX_JAVA_RELEASE_URL="https://github.com/Feysh-Group/corax-community/releases/download/v$CORAX_VERSION/$CORAX_JAVA_ARTIFACT_ZIP"
else
CORAX_JAVA_RELEASE_URL="https://release.feysh.com/corax%2Fcorax-java-cli-community-2.6.zip?OSSAccessKeyId=LTAI5tKF4FQ2CGnhMA7oU58p&Expires=1738550438&Signature=gerVvL1taJfRCuxTaw6B1f2yx6g%3D"
CORAX_JAVA_RELEASE_URL="http://release.feysh.com/corax-java-group/corax-java-cli-community-2.8.zip?OSSAccessKeyId=LTAI5tKF4FQ2CGnhMA7oU58p&Expires=1713062793&Signature=FyVCtsGwJgfEbWdXV%2BA1SlPo4hQ%3D"
fi

_download_extract "Corax Java" "$CORAX_JAVA_RELEASE_URL" "$CJ_TARGET_DIR" "$ARCHIVE_NAME"
Expand Down

0 comments on commit 59c6f31

Please sign in to comment.