Skip to content

Commit

Permalink
chore: Improve publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Apr 23, 2024
1 parent fedf06f commit b1c22d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1c22d5

Please sign in to comment.