Skip to content

Commit

Permalink
chore: ensure no 'find' command error
Browse files Browse the repository at this point in the history
the _upgrade_base dir must exist
  • Loading branch information
zmstone committed Sep 6, 2022
1 parent ac840e3 commit 85cb552
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ make_relup() {
local name_pattern
name_pattern="${PROFILE}-$(./pkg-vsn.sh "$PROFILE" --vsn_matcher --long)"
local releases=()
mkdir -p _upgrade_base
while read -r tgzfile ; do
local base_vsn
base_vsn="$(echo "$tgzfile" | grep -oE "[0-9]+\.[0-9]+\.[0-9]+(-(alpha|beta|rc)\.[0-9])?(-[0-9a-f]{8})?" | head -1)"
Expand Down

0 comments on commit 85cb552

Please sign in to comment.