Skip to content

jaymecd/verpakker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

GitHub / Jira release tool

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.

Version notation

Currently supported vYYWW.N.P notation, where

  • YYWW - is a year/week abbreviation
  • N - is a weekly number increment
  • P - is a patch increment

Dependencies

  • standard system tools: bash, awk, git, curl
  • jo - to create JSON string
  • jq - to parse JSON string

On MacOS (OSX) could be installed with Homebrew:

$ brew install bash awk git curl
$ brew install jo jq

Installation

$ git clone [email protected]: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

Usage

$ git verpak-next
$ git verpak-patch

Releases

No releases published

Packages

No packages published

Languages