fix(libmsgpack{,-cxx}): regexp in tag name check
%ci:no-build Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
This commit is contained in:
parent
47b24412a6
commit
2c11650b05
|
@ -15,9 +15,9 @@ termux_pkg_auto_update() {
|
|||
local tag
|
||||
tag="$(termux_github_api_get_tag "${TERMUX_PKG_SRCURL}")"
|
||||
# check if this is not a c release:
|
||||
if grep -qP "^cpp-${TERMUX_PKG_UPDATE_VERSION_REGEXP}$" <<<"$tag"; then
|
||||
if grep -qP "^cpp-${TERMUX_PKG_UPDATE_VERSION_REGEXP}\$" <<<"$tag"; then
|
||||
termux_pkg_upgrade_version "$tag"
|
||||
else
|
||||
echo "WARNING: Skipping auto-update of ${TERMUX_PKG_NAME}: Not a cpp release($tag)"
|
||||
echo "WARNING: Skipping auto-update: Not a cpp release($tag)"
|
||||
fi
|
||||
}
|
||||
|
|
|
@ -20,9 +20,9 @@ termux_pkg_auto_update() {
|
|||
local tag
|
||||
tag="$(termux_github_api_get_tag "${TERMUX_PKG_SRCURL}")"
|
||||
# check if this is not a c++ release:
|
||||
if grep -qP "^c-${TERMUX_PKG_UPDATE_VERSION_REGEXP}$" <<<"$tag"; then
|
||||
if grep -qP "^c-${TERMUX_PKG_UPDATE_VERSION_REGEXP}\$" <<<"$tag"; then
|
||||
termux_pkg_upgrade_version "$tag"
|
||||
else
|
||||
echo "WARNING: Skipping auto-update of ${TERMUX_PKG_NAME}: Not a C release($tag)"
|
||||
echo "WARNING: Skipping auto-update: Not a C release($tag)"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue