diff --git a/_changelogs/0.9.6.md b/_changelogs/0.9.6.md new file mode 100644 index 00000000..15aaeacd --- /dev/null +++ b/_changelogs/0.9.6.md @@ -0,0 +1,20 @@ +## Changes + +* Environment models moved to Envman. +* Less verbose log at first setup of Steplib. +* Dependencies added to StepModel (currently supported dependency manager: brew) + + +## Install + +To install this version, run the following commands (in a bash shell): + +``` +curl -L https://github.com/bitrise-io/stepman/releases/download/0.9.6/stepman-$(uname -s)-$(uname -m) > /usr/local/bin/stepman +``` + +Then: + +``` +chmod +x /usr/local/bin/stepman +``` diff --git a/_changelogs/template.md b/_changelogs/template.md new file mode 100644 index 00000000..fcf65e01 --- /dev/null +++ b/_changelogs/template.md @@ -0,0 +1,22 @@ +Changelog template: + + +## Changes + +* __BREAKING__ : change 1 +* change 2 + + +## Install + +To install this version, run the following commands (in a bash shell): + +``` +curl -L https://github.com/bitrise-io/stepman/releases/download/{{version}}/stepman-$(uname -s)-$(uname -m) > /usr/local/bin/stepman +``` + +Then: + +``` +chmod +x /usr/local/bin/stepman +``` diff --git a/bitrise.yml b/bitrise.yml index dce2bcc6..eca30b38 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -30,6 +30,18 @@ workflows: mv _bin/tmpbin "${finalpth}" # register the version for next steps envman add --key RELEASE_VERSION --value "${binversion}" + - script: + title: Creating release changelog template + inputs: + - content: |- + changelog_path = "./_changelogs/#{ENV['RELEASE_VERSION']}.md" + puts " * changelog_path: #{changelog_path}" + template_content = File.read("./_changelogs/template.md") + changelog_content = template_content.gsub("{{version}}", ENV['RELEASE_VERSION']) + File.open(changelog_path, "w") do |f| + f.write(changelog_content) + end + - runner_bin: ruby announce-release: steps: - script: