-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: deploy canary release of bb.js to npm via CCI (#3917)
This PR releases bb.js npm via CCI under the `canary` tag, while maintaining the release via Github Actions under the `latest` tag. They should be identical. Once we are confident in the release via CCI, we can deploy both `canary` and `latest` from CCI in a followup PR. Also add check_env script during setup_env to ensure the version of bash is high enough.
- Loading branch information
1 parent
34fad0a
commit bdeb10c
Showing
3 changed files
with
21 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
# check that the current system is able to run the build system. | ||
|
||
[ -n "${BUILD_SYSTEM_DEBUG:-}" ] && set -x # conditionally trace | ||
set -eu | ||
|
||
# check that our bash version is new enough. | ||
major_version=${BASH_VERSION%%.*} | ||
|
||
# Check if the major version is less than 4 | ||
if [[ $major_version -lt 4 ]]; then | ||
echo "Bash version 4 or greater is required." | ||
exit 1 | ||
fi |
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