2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-14 09:14:04 +00:00

Merge pull request #706 from saurabh6790/multi-branch-release

[fix]semantic versioning
This commit is contained in:
Saurabh 2018-07-19 14:38:08 +05:30 committed by GitHub
commit 18bf1b5450
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,11 +47,10 @@ def get_bummped_version(repo_path):
v.major += 1 v.major += 1
v.minor = 0 v.minor = 0
v.patch = 0 v.patch = 0
v.prerelease = None v.prerelease = ['staging']
return str(v) return str(v)
def update_branch(repo_path, remote): def update_branch(repo_path, remote):
from .release import update_branch from .release import update_branch
update_branch(repo_path, 'develop', remote) update_branch(repo_path, 'develop', remote)