Skip to content

Commit

Permalink
Merge pull request #27 from cedwards/master
Browse files Browse the repository at this point in the history
bootstrap fix
  • Loading branch information
cedwards authored Jan 3, 2019
2 parents d35b2cc + 655f8d0 commit 29e98b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion usr/local/bin/bastille
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
. /usr/local/etc/bastille/bastille.conf

## version
BASTILLE_VERSION="0.3.20181202"
BASTILLE_VERSION="0.3.20190102"

usage() {
cat << EOF
Expand Down
12 changes: 4 additions & 8 deletions usr/local/share/bastille/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,27 +165,23 @@ bootstrap_template() {
# Filter sane release names
case "${1}" in
10.1-RELEASE|10.2-RELEASE|10.3-RELEASE|10.4-RELEASE)
RELEASE="${1}"
bootstrap_release
echo -e "${COLOR_RED}WARNING: FreeBSD 10.1-RELEASE HAS PASSED ITS END-OF-LIFE DATE.${COLOR_RESET}"
;;
11.0-RELEASE|11.1-RELEASE)
RELEASE="${1}"
bootstrap_release
echo -e "${COLOR_RED}WARNING: FreeBSD 11.0-RELEASE HAS PASSED ITS END-OF-LIFE DATE.${COLOR_RESET}"
;;
11.2-RELEASE)
RELEASE="${1}"
bootstrap_release
;;
12.0-RELEASE)
RELEASE="${1}"
bootstrap_release
;;
12.0-BETA1|12.0-BETA2|12.0-BETA3|12.0-BETA4)
bootstrap_release
echo -e "${COLOR_RED}BETA releases are completely untested.${COLOR_RESET}"
;;
12.0-RC1|12.0-RC2|12.0-RC3)
bootstrap_release
echo -e "${COLOR_RED}RC releases are completely untested.${COLOR_RESET}"
;;
http?://github.com/*/*)
BASTILLE_TEMPLATE_URL=${1}
BASTILLE_TEMPLATE_USER=$(echo "${1}" | awk -F / '{ print $4 }')
Expand Down

0 comments on commit 29e98b5

Please sign in to comment.