Skip to content

Commit

Permalink
Bump version to 2.2.0; fix versioning script
Browse files Browse the repository at this point in the history
  • Loading branch information
cydrobolt committed May 7, 2017
1 parent def7e36 commit 44dca74
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .env.setup
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
APP_ENV=local
APP_DEBUG=true
APP_KEY=,faO^ofvGeJ8|Z.q{mWp=^i}Cmzj+k&K
APP_KEY=Su;8^J%x"J4}S{M`9O~%]icH^~b^*.B.

APP_LOCALE=en
APP_FALLBACK_LOCALE=en
Expand All @@ -16,7 +16,7 @@ CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=file

VERSION=2.1.1
VERSION_RELMONTH=December
VERSION_RELDAY=9
VERSION_RELYEAR=2016
VERSION=2.2.0
VERSION_RELMONTH=May
VERSION_RELDAY=6
VERSION_RELYEAR=2017
2 changes: 1 addition & 1 deletion util/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# Update setup key
setup_env_lines = re.sub(r'(?is)APP_KEY=[^\n]+', 'APP_KEY={}'.format(new_setup_key), setup_env_lines)
# Update date and release in setup env
setup_env_lines = re.sub(r'cVERSION=[0-9a-zA-Z\.]+', 'VERSION={}'.format(new_version), setup_env_lines)
setup_env_lines = re.sub(r'(?is)VERSION=[0-9a-zA-Z\.]+', 'VERSION={}'.format(new_version), setup_env_lines)
setup_env_lines = re.sub(r'(?is)VERSION_RELMONTH=\w+', 'VERSION_RELMONTH={}'.format(now.strftime('%B')), setup_env_lines)
setup_env_lines = re.sub(r'(?is)VERSION_RELDAY=\w+', 'VERSION_RELDAY={}'.format(now.day), setup_env_lines)
setup_env_lines = re.sub(r'(?is)VERSION_RELYEAR=\w+', 'VERSION_RELYEAR={}'.format(now.year), setup_env_lines)
Expand Down

0 comments on commit 44dca74

Please sign in to comment.