Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Don't fail when release branch version is not consistent
Dmitry Kazakov9dae62994cb7
diff --git a/packaging/linux/appimage/build-image.sh b/packaging/linux/appimage/build-image.shindex 9c1e1a9d7c..1e0d391899 100755--- a/packaging/linux/appimage/build-image.sh+++ b/packaging/linux/appimage/build-image.sh@@ -66,18 +66,17 @@ if [[ "${CI_COMMIT_BRANCH}" =~ release/.* ]]; thenecho "Found a release branch: ${CI_COMMIT_BRANCH} using version: ${BRANCH_VERSION}"if [[ "$BRANCH_VERSION" != "$KRITA_VERSION" ]]; then- echo "ERROR: Branch version does not coincide with the version in kritaversion.h:"+ echo "WARNING: Branch version does not coincide with the version in kritaversion.h:"echo " branch version: $BRANCH_VERSION"echo " kritaversion.h: $KRITA_VERSION"- exit 2fi- if [[ "${BRANCH_VERSION}" =~ -beta$ ]]; then+ if [[ "${KRITA_VERSION}" =~ -beta$ ]]; thenecho "ERROR: beta version does not have a numeric suffix, please change it to \"beta1\""exit 3fi- if [[ "${BRANCH_VERSION}" =~ -rc$ ]]; then+ if [[ "${KRITA_VERSION}" =~ -rc$ ]]; thenecho "ERROR: release candidate version does not have a numeric suffix, please change it to \"rc1\""exit 4fi