Use tags for jsdec instead of master. (#3231)

This commit is contained in:
Giovanni 2023-08-18 10:57:05 +08:00 committed by GitHub
parent 215ab373d4
commit 28e7ca567c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ $dist = $args[0]
$python = Split-Path((Get-Command python.exe).Path)
if (-not (Test-Path -Path 'jsdec' -PathType Container)) {
git clone https://github.com/rizinorg/jsdec.git --depth 1 --branch master
git clone https://github.com/rizinorg/jsdec.git --depth 1 --branch "v0.6.0"
}
cd jsdec
& meson.exe --buildtype=release -Dc_args=-DDUK_USE_DATE_NOW_WINDOWS -Djsc_folder=".." --prefix="$dist" p build

View File

@ -7,7 +7,7 @@ SCRIPTPATH=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
cd "$SCRIPTPATH/.."
if [[ ! -d jsdec ]]; then
git clone https://github.com/rizinorg/jsdec.git --depth 2 --branch master
git clone https://github.com/rizinorg/jsdec.git --depth 1 --branch "v0.6.0"
fi
cd jsdec