@@ -20,31 +20,31 @@ main() {
20
20
cd " $( dirname " $0 " ) /../.."
21
21
22
22
# Check that gh is installed
23
- if ! command -v gh & > /dev/null; then
23
+ if ! command -v gh & > /dev/null; then
24
24
echo " gh could not be found."
25
25
echo " We use this with the release-github-draft.sh and release-github-assets.sh scripts."
26
26
echo -e " See docs here: https://github.com/cli/cli#installation"
27
27
exit
28
28
fi
29
29
30
30
# Check that they have jq installed
31
- if ! command -v jq & > /dev/null; then
31
+ if ! command -v jq & > /dev/null; then
32
32
echo " jq could not be found."
33
33
echo " We use this to parse the package.json and grab the current version of code-server."
34
34
echo -e " See docs here: https://stedolan.github.io/jq/download/"
35
35
exit
36
36
fi
37
37
38
38
# Check that they have rg installed
39
- if ! command -v rg & > /dev/null; then
39
+ if ! command -v rg & > /dev/null; then
40
40
echo " rg could not be found."
41
41
echo " We use this when updating files across the codebase."
42
42
echo -e " See docs here: https://github.com/BurntSushi/ripgrep#installation"
43
43
exit
44
44
fi
45
45
46
46
# Check that they have node installed
47
- if ! command -v node & > /dev/null; then
47
+ if ! command -v node & > /dev/null; then
48
48
echo " node could not be found."
49
49
echo " That's surprising..."
50
50
echo " We use it in this script for getting the package.json version"
@@ -53,7 +53,7 @@ main() {
53
53
fi
54
54
55
55
# Check that gh is authenticated
56
- if ! gh auth status -h github.com & > /dev/null; then
56
+ if ! gh auth status -h github.com & > /dev/null; then
57
57
echo " gh isn't authenticated to github.com."
58
58
echo " This is needed for our scripts that use gh."
59
59
echo -e " See docs regarding authentication: https://cli.github.com/manual/gh_auth_login"
0 commit comments