Skip to content

Commit

Permalink
chore: release 5.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Dec 30, 2020
1 parent 3039063 commit ff3e970
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 5 additions & 4 deletions scripts/make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/Doctum.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' : '');
Expand Down

0 comments on commit ff3e970

Please sign in to comment.