Skip to content

Commit b1c22d5

Browse files
committed
chore: Improve publish script
1 parent fedf06f commit b1c22d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/publish.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ set -eu
44

55
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
66

7-
version="$1"
8-
swc_core_version="$(cargo tree -i -p swc_core --depth 0 | awk '{print $2}')"
9-
107
git pull || true
118
yarn
129

10+
version="$1"
11+
swc_core_version="$(cargo tree -i -p swc_core --depth 0 | awk '{print $2}')"
12+
1313
echo "Publishing $version with swc_core $swc_core_version"
1414

1515
# Update swc_core

0 commit comments

Comments
 (0)