verpakker
is a tool for continuous version (tag) creation.
It could create next
or patch
version based on semver-like notation.
NB!
Still under hard development.
Currently supported vYYWW.N.P
notation, where
YYWW
- is a year/week abbreviationN
- is a weekly number incrementP
- is a patch increment
On MacOS (OSX) could be installed with Homebrew:
$ brew install bash awk git curl
$ brew install jo jq
$ git clone git@github.com:jaymecd/verpakker.git ~/verpakker
Initialize verpakker
:
$ cd my/project/to/deploy
$ ~/verpakker/verpakker.sh init
-
GITHUB_TOKEN
- GitHub personal access token -
TRAVIS_TOKEN
- TravisCI token (required for pivate repositoeries) -
JIRA_TOKEN
- JIRA BasicAuth token ($ echo "user:pass" | base64
)if you get HTTP 401 error with correct password, it's required to reset password via JIRA 'forgot password' form. More info on this weird behaviour - JRACLOUD-66793
-
JIRA_DOMAIN
- JIRA domain -
JIRA_PROJECTS
- JIRA tracked projects, space separated list -
JIRA_PREFIX
- JIRA version prefix (optional)If next tag is
v1741.2.3
, JIRA version would be created as${JIRA_PREFIX}1741.2
and assigned to the${JIRA_DOMAIN}
tickets in commit range. -
JIRA_DESCRIPTION
- JIRA version description (optional)
Observe configuration:
$ ~/verpakker/verpakker.sh show
$ git verpak-next
$ git verpak-patch