Mercurial > public > develkit
comparison scripts/release.groovy @ 215:5bebb590b30e
DEP-11: determine project version based on branch
author | smith@nwoca.org |
---|---|
date | Tue, 28 Jun 2016 23:01:21 +0100 |
parents | f200b931ea9d |
children | b628d49d2891 |
comparison
equal
deleted
inserted
replaced
214:0ca4f3c952b7 | 215:5bebb590b30e |
---|---|
1 #!groovy | 1 #!groovy |
2 | 2 |
3 /** | 3 /** |
4 This script implements the SSDT branching strategy based on hg flow. | 4 This script implements the SSDT branching strategy based on hg flow. |
5 | 5 |
6 The intension is to reduce dudgery of creating release branches. The | 6 The intention is to reduce drudgery of creating release branches. The |
7 script tries to do the right thing based on standard SSDT project structures, | 7 script tries to do the right thing based on standard SSDT project structures, |
8 but it is the user's responsibility to ensure it's correct. | 8 but it is the user's responsibility to ensure it's correct. |
9 | 9 |
10 The script does NOT "hg push --new-branch". That step is left for you | 10 The script does NOT "hg push --new-branch". That step is left for you |
11 if the branch was created correctly. | 11 if the branch was created correctly. |
30 For hotfix, current working branch should be the release branch. | 30 For hotfix, current working branch should be the release branch. |
31 | 31 |
32 Recommend that this script be executed in a fresh clone of the repo. | 32 Recommend that this script be executed in a fresh clone of the repo. |
33 | 33 |
34 ** Any uncommitted changes in the working directory will be committed with | 34 ** Any uncommitted changes in the working directory will be committed with |
35 the initial setting of the version. This are assumed to be | 35 the initial setting of the version. These are assumed to be |
36 'latest.integration' changes. | 36 'latest.integration' changes. |
37 """ | 37 """ |
38 | 38 |
39 System.exit(0) | 39 System.exit(0) |
40 } | 40 } |