-
Notifications
You must be signed in to change notification settings - Fork 1
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
Mark Skelton
committed
Jan 18, 2022
1 parent
addf402
commit 7225db6
Showing
4 changed files
with
19 additions
and
4 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
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 |
---|---|---|
|
@@ -6,5 +6,5 @@ if [[ -z "${CI}" ]]; then | |
exit 1 | ||
fi | ||
|
||
yarn tsc -p tsconfig.build.json | ||
yarn ts | ||
yarn changeset publish |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
set -eo pipefail | ||
|
||
if [[ -z "${CI}" ]]; then | ||
echo "Versioning is only allowed from CI." | ||
exit 1 | ||
fi | ||
|
||
# Update changelogs and manifests | ||
yarn changeset version | ||
|
||
# yarn.lock stores dependent package versions, so we need | ||
# to update it before committing or CI will fail due to | ||
# yarn.lock being out of date. | ||
yarn |