From 9a14a46db246e73139d9c1977b7c71dc9a15805f Mon Sep 17 00:00:00 2001 From: ildyria Date: Fri, 9 Oct 2020 13:02:54 +0200 Subject: [PATCH] bump to version 4.0.7 --- .../2020_10_09_130043_bump_version040007.php | 27 +++++++++++ gen_release | 45 ++++++++----------- makefile | 6 ++- version.md | 2 +- 4 files changed, 51 insertions(+), 29 deletions(-) create mode 100644 database/migrations/2020_10_09_130043_bump_version040007.php diff --git a/database/migrations/2020_10_09_130043_bump_version040007.php b/database/migrations/2020_10_09_130043_bump_version040007.php new file mode 100644 index 00000000000..2b2ee70bac2 --- /dev/null +++ b/database/migrations/2020_10_09_130043_bump_version040007.php @@ -0,0 +1,27 @@ +update(['value' => '040007']); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Configs::where('key', 'version')->update(['value' => '040006']); + } +} diff --git a/gen_release b/gen_release index dd6ebb1f251..bd07bc1736f 100755 --- a/gen_release +++ b/gen_release @@ -6,7 +6,7 @@ */ $template = "getMessage() . "\e[0m\n"); } -catch (Exception $e) -{ - exit("\e[0;31m".$e->getMessage()."\e[0m\n"); -} - diff --git a/makefile b/makefile index 0340e6487af..78a8b01e2b3 100644 --- a/makefile +++ b/makefile @@ -105,11 +105,13 @@ formatting: echo ""; \ fi -release_minor: +gen_minor: php gen_release git add database git add version.md - git commit -m "bump to version $(shell cat version.md)" + +release_minor: + git commit -S -m "bump to version $(shell cat version.md)" release_major: php gen_release major diff --git a/version.md b/version.md index 9eefef7bd65..d356c34a8cc 100644 --- a/version.md +++ b/version.md @@ -1 +1 @@ -4.0.6 \ No newline at end of file +4.0.7 \ No newline at end of file