dev
This commit is contained in:
parent
99d4b8c732
commit
8740df3263
@ -143,7 +143,7 @@ pkgBuild() { # $1=PKGNAME
|
||||
# shellcheck disable=SC2034 # Variable for plugin
|
||||
local -r PKGBUILD="${PKGDIR}/${PKGNAME}/files/PKGBUILD"
|
||||
. "${PLUGINFILE}"
|
||||
local -r PKGFILES="${PKGDIR}/${PKGNAME}/files"
|
||||
local PKGFILES="${PKGDIR}/${PKGNAME}/files"
|
||||
if ! PKGFILES=$(plugin_getpkgfiles "${PKGDIR}" "${PKGNAME}"); then
|
||||
if [[ "${DRYRUN}" == "0" ]]; then
|
||||
writeSetting "${PKGDIR}"/"${PKGNAME}"/settings "lastbuildstatus" "Error - No PKG files provided"
|
||||
|
@ -68,7 +68,6 @@ plugin_update() {
|
||||
writeSetting "${PKGBUILD}" "pkgname" "${PKGNAME}"
|
||||
writeSetting "${PKGBUILD}" "pkgrel" "1"
|
||||
local -r PKGVERSION=$(readSetting "${PKGSETTINGS}" "pkgver" "0")
|
||||
local -r PKGREVISION=$(readSetting "${PKGSETTINGS}" "pkgrev" "0")
|
||||
local -r PKGNEWREVISION=$((PKGREVISION + 1))
|
||||
writeSetting "${PKGBUILD}" "pkgver" "${PKGVERSION}.r${PKGNEWREVISION}.${ONLINECOMMIT:0:7}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user