Skip to content

Commit

Permalink
Merge pull request #59 from gkiki90/release
Browse files Browse the repository at this point in the history
auto changelog
  • Loading branch information
viktorbenei committed Aug 3, 2015
2 parents 033a3c6 + 637ff38 commit 856b2ca
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
20 changes: 20 additions & 0 deletions _changelogs/0.9.6.md
Original file line number Diff line number Diff line change
@@ -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
```
22 changes: 22 additions & 0 deletions _changelogs/template.md
Original file line number Diff line number Diff line change
@@ -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
```
12 changes: 12 additions & 0 deletions bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 856b2ca

Please sign in to comment.