Bug Check update in github-tag and release
This commit is contained in:
parent
808092bfd1
commit
028a40ee8c
@ -38,7 +38,7 @@ plugin_getlatestversion() {
|
|||||||
echo "Error in Github API"
|
echo "Error in Github API"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
local -r PKGVERSION=$(readSetting "${PKGSETTINGS}" "pkgver" "0")
|
local -r PKGVERSION=$(readSetting "${PKGBUILD}" "pkgver" "0")
|
||||||
if [[ "${PKGVERSION}" == "${GITHUBVERSION}" ]]; then
|
if [[ "${PKGVERSION}" == "${GITHUBVERSION}" ]]; then
|
||||||
readSetting "${PKGSETTINGS}" "version" "0"
|
readSetting "${PKGSETTINGS}" "version" "0"
|
||||||
else
|
else
|
||||||
@ -63,7 +63,7 @@ plugin_update() {
|
|||||||
echo "Error in Github API"
|
echo "Error in Github API"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
local -r PKGVERSION=$(readSetting "${PKGSETTINGS}" "pkgver" "0")
|
local -r PKGVERSION=$(readSetting "${PKGBUILD}" "pkgver" "0")
|
||||||
if [[ "${PKGVERSION}" == "${GITHUBVERSION}" ]]; then
|
if [[ "${PKGVERSION}" == "${GITHUBVERSION}" ]]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
@ -38,7 +38,7 @@ plugin_getlatestversion() {
|
|||||||
echo "Error in Github API"
|
echo "Error in Github API"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
local -r PKGVERSION=$(readSetting "${PKGSETTINGS}" "pkgver" "0")
|
local -r PKGVERSION=$(readSetting "${PKGBUILD}" "pkgver" "0")
|
||||||
if [[ "${PKGVERSION}" == "${GITHUBVERSION}" ]]; then
|
if [[ "${PKGVERSION}" == "${GITHUBVERSION}" ]]; then
|
||||||
readSetting "${PKGSETTINGS}" "version" "0"
|
readSetting "${PKGSETTINGS}" "version" "0"
|
||||||
else
|
else
|
||||||
@ -63,7 +63,7 @@ plugin_update() {
|
|||||||
echo "Error in Github API"
|
echo "Error in Github API"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
local -r PKGVERSION=$(readSetting "${PKGSETTINGS}" "pkgver" "0")
|
local -r PKGVERSION=$(readSetting "${PKGBUILD}" "pkgver" "0")
|
||||||
if [[ "${PKGVERSION}" == "${GITHUBVERSION}" ]]; then
|
if [[ "${PKGVERSION}" == "${GITHUBVERSION}" ]]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user