Mini bugfixes related to shellcheck and changes to beta building (#2057)
https://github.com/armbian/build/pull/2054 Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
This commit is contained in:
parent
ce5d51c2de
commit
8b350f386f
@ -11,7 +11,7 @@
|
||||
|
||||
# common options
|
||||
# daily beta build contains date in subrevision
|
||||
if [[ $BETA == yes && -z $SUBREVISION ]]; then SUBREVISION="."$(date --date="tomorrow" +"%j"); fi
|
||||
#if [[ $BETA == yes && -z $SUBREVISION ]]; then SUBREVISION="."$(date --date="tomorrow" +"%j"); fi
|
||||
REVISION=$(cat ${SRC}/VERSION)"$SUBREVISION" # all boards have same revision
|
||||
[[ -z $ROOTPWD ]] && ROOTPWD="1234" # Must be changed @first login
|
||||
[[ -z $MAINTAINER ]] && MAINTAINER="Igor Pecovnik" # deb signature
|
||||
|
||||
@ -613,7 +613,7 @@ addtorepo()
|
||||
if [ $mainnum -gt 0 ] && [ $utilnum -gt 0 ] && [ $desknum -gt 0 ]; then
|
||||
# publish
|
||||
aptly publish -force-overwrite -passphrase="${GPG_PASS}" -origin=Armbian -label=Armbian -config="${SCRIPTPATH}config/${REPO_CONFIG}" -component="${COMPONENTS// /,}" \
|
||||
--distribution="${release}" repo "${release}" "${COMPONENTS//main/}" >/dev/null
|
||||
--distribution="${release}" repo "${release}" ${COMPONENTS//main/} >/dev/null
|
||||
if [[ $? -ne 0 ]]; then
|
||||
display_alert "Publishing failed" "${release}" "err"
|
||||
errors=$((errors+1))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user