-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
'@segment/analytics-core': minor | ||
--- | ||
|
||
Migrate common code into core. | ||
Migrate shared code into core. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
#!/bin/bash | ||
# Changesets does not support yarn, so if the resolutions change, we want to commit them as part of the version pipeline. | ||
echo "pwd: $(pwd)" | ||
echo "Checking if yarn.lock is up-to-date" | ||
yarn install | ||
if [[ -n $(git status --porcelain | grep yarn.lock) ]]; then | ||
echo "Adding yarn.lock..." | ||
git add yarn.lock | ||
# The yarn.lock will be auto-commited by the changeset github action | ||
else | ||
echo "No yarn.lock updates needed" | ||
fi | ||
YARN_ENABLE_IMMUTABLE_INSTALLS=false node .yarn/releases/yarn-3.2.1.cjs # https://github.com/changesets/action/issues/170 | ||
git add yarn.lock | ||
git status --porcelain |