You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
Move cache clean above install
This commit is contained in:
10
release.sh
10
release.sh
@@ -94,6 +94,11 @@ if [ $# -ne 1 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# We use Git branch / commit dependencies for some packages, and Yarn seems
|
||||||
|
# to have a hard time getting that right. See also
|
||||||
|
# https://github.com/yarnpkg/yarn/issues/4734. As a workaround, we clean the
|
||||||
|
# global cache here to ensure we get the right thing.
|
||||||
|
yarn cache clean
|
||||||
# Ensure all dependencies are updated
|
# Ensure all dependencies are updated
|
||||||
yarn install --ignore-scripts
|
yarn install --ignore-scripts
|
||||||
|
|
||||||
@@ -207,11 +212,6 @@ if [ $dodist -eq 0 ]; then
|
|||||||
pushd "$builddir"
|
pushd "$builddir"
|
||||||
git clone "$projdir" .
|
git clone "$projdir" .
|
||||||
git checkout "$rel_branch"
|
git checkout "$rel_branch"
|
||||||
# We use Git branch / commit dependencies for some packages, and Yarn seems
|
|
||||||
# to have a hard time getting that right. See also
|
|
||||||
# https://github.com/yarnpkg/yarn/issues/4734. As a workaround, we clean the
|
|
||||||
# global cache here to ensure we get the right thing.
|
|
||||||
yarn cache clean
|
|
||||||
yarn install
|
yarn install
|
||||||
# We haven't tagged yet, so tell the dist script what version
|
# We haven't tagged yet, so tell the dist script what version
|
||||||
# it's building
|
# it's building
|
||||||
|
|||||||
Reference in New Issue
Block a user