From ff3e970d32c0f4051a45628338ed7e2d60805b54 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Wed, 30 Dec 2020 13:43:13 +0100 Subject: [PATCH] chore: release 5.3.1 --- CHANGELOG.md | 2 +- scripts/make-release.sh | 9 +++++---- src/Doctum.php | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d052bb7..66fc88cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] - yyyy-mm-dd -## [5.3.1] - 2020-mm-dd +## [5.3.1] - 2020-12-30 - Fixed: missing "final" keyword on a class page - Made the minimum required php version more precise on composer.json and README.md diff --git a/scripts/make-release.sh b/scripts/make-release.sh index 5e2fe6f4..346bf7a6 100755 --- a/scripts/make-release.sh +++ b/scripts/make-release.sh @@ -184,12 +184,13 @@ get_version "${PHP_BIN:-php} doctum.phar" echo "Version after build: ${VERSION}" if [ "${VERSION_BEFORE}" = "${VERSION}" ]; then echo "Done." + + if [ -z "${SKIP_PUBLISH_QUESTION}${VERSION_MATCH_DEV}" ]; then + publishArtifacts + fi + exit 0; else echo "Versions do not match." exit 1; fi - -if [ -z "${SKIP_PUBLISH_QUESTION}" ] && [ -z "${VERSION_MATCH_DEV}" ]; then - publishArtifacts -fi diff --git a/src/Doctum.php b/src/Doctum.php index 008dddc5..4fcfbfbf 100644 --- a/src/Doctum.php +++ b/src/Doctum.php @@ -49,7 +49,7 @@ class Doctum implements ArrayAccess public const VERSION_MAJOR = 5; public const VERSION_MINOR = 3; public const VERSION_PATCH = 1; - public const IS_DEV = true; + public const IS_DEV = false; //@phpstan-ignore-next-line public const VERSION = self::VERSION_MAJOR . '.' . self::VERSION_MINOR . '.' . self::VERSION_PATCH . (self::IS_DEV ? '-dev' : '');