From 39c4f215d5396e949c62cb1dd685ede195b4c153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krisztia=CC=81n=20Go=CC=88drei?= Date: Wed, 1 Jun 2016 12:39:55 +0200 Subject: [PATCH] relelase configs --- bitrise.yml | 33 +++++++++++++++++++++++++++++++-- release_config.yml | 13 +++++++++++++ 2 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 release_config.yml diff --git a/bitrise.yml b/bitrise.yml index d7ea376..ad8753c 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -10,6 +10,8 @@ app: - BITRISE_KEYCHAIN_PASSWORD: $BITRISE_KEYCHAIN_PASSWORD workflows: + # ---------------------------------------------------------------- + # --- workflow to Step Test test: steps: - change-workdir: @@ -32,15 +34,42 @@ workflows: - keychain_path: $HOME/Library/Keychains/login.keychain - keychain_password: $BITRISE_KEYCHAIN_PASSWORD + # ---------------------------------------------------------------- + # --- workflows to create Release + create-release: + steps: + - script: + title: + inputs: + - content: | + #!/bin/bash + set -e + + export CI=true + releaseman create --bump-version patch + + create-release-version: + envs: + - RELEASE_VERSION: 1.5.0 + steps: + - script: + title: + inputs: + - content: | + #!/bin/bash + set -e + + export CI=true + releaseman create --version $RELEASE_VERSION # ---------------------------------------------------------------- - # --- workflows to Share this step into a Step Library + # --- workflow to Share this step into a Step Library share-this-step: envs: # if you want to share this step into a StepLib - MY_STEPLIB_REPO_FORK_GIT_URL: $MY_STEPLIB_REPO_FORK_GIT_URL - STEP_ID_IN_STEPLIB: certificate-and-profile-installer - - STEP_GIT_VERION_TAG_TO_SHARE: 1.4.2 + - STEP_GIT_VERION_TAG_TO_SHARE: 1.5.0 - STEP_GIT_CLONE_URL: https://github.com/bitrise-io/steps-certificate-and-profile-installer.git description: |- If this is the first time you try to share a Step you should diff --git a/release_config.yml b/release_config.yml new file mode 100644 index 0000000..4a1f737 --- /dev/null +++ b/release_config.yml @@ -0,0 +1,13 @@ +release: + development_branch: master + release_branch: master +changelog: + path: CHANGELOG.md + content_template: |- + {{range .ContentItems}}### {{.EndTaggedCommit.Tag}} ({{.EndTaggedCommit.Date.Format "2006 Jan 02"}}) + + {{range .Commits}}* [{{firstChars .Hash 7}}] {{.Message}} + {{end}} + {{end}} + header_template: '## Changelog (Current version: {{.Version}})' + footer_template: 'Updated: {{.CurrentDate.Format "2006 Jan 02"}}'