File tree 3 files changed +15
-7
lines changed
3 files changed +15
-7
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ NEEDED_COMMANDS=" curl jq docker skopeo"
4
+ for c in $NEEDED_COMMANDS ; do
5
+ if ! command -v " $c " & > /dev/null; then
6
+ echo " ⚠️ '$c ' is not installed. Can't proceed with build."
7
+ exit 1
8
+ fi
9
+ done
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
# Builds the latest released version
3
+
4
+ # Check if we have everything needed for the build
5
+ source ./build-functions/check-commands.sh
6
+
3
7
source ./build-functions/gh-functions.sh
4
8
5
9
echo " ▶️ $0 $* "
Original file line number Diff line number Diff line change @@ -137,13 +137,8 @@ END_OF_HELP
137
137
fi
138
138
fi
139
139
140
- NEEDED_COMMANDS=" curl jq docker skopeo"
141
- for c in $NEEDED_COMMANDS ; do
142
- if ! command -v " $c " & > /dev/null; then
143
- echo " ⚠️ '$c ' is not installed. Can't proceed with build."
144
- exit 1
145
- fi
146
- done
140
+ # Check if we have everything needed for the build
141
+ source ./build-functions/check-commands.sh
147
142
148
143
source ./build-functions/gh-functions.sh
149
144
You can’t perform that action at this time.
0 commit comments