mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
chore: Improve publish script
This commit is contained in:
parent
fedf06f820
commit
b1c22d53b6
@ -4,12 +4,12 @@ set -eu
|
||||
|
||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
version="$1"
|
||||
swc_core_version="$(cargo tree -i -p swc_core --depth 0 | awk '{print $2}')"
|
||||
|
||||
git pull || true
|
||||
yarn
|
||||
|
||||
version="$1"
|
||||
swc_core_version="$(cargo tree -i -p swc_core --depth 0 | awk '{print $2}')"
|
||||
|
||||
echo "Publishing $version with swc_core $swc_core_version"
|
||||
|
||||
# Update swc_core
|
||||
|
Loading…
Reference in New Issue
Block a user