-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #267 from StackStorm/feature/release-1.4.0
Release 1.4.0
- Loading branch information
Showing
3 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,33 @@ | ||
# Releasing module to Puppet Forge | ||
|
||
* Create new feature branch, make changes to module and test. | ||
* Update CHANGELOG.md with release notes | ||
* Update `metadata.json` with new version release | ||
* Prepare tooling | ||
```shell | ||
bundle config --local path .//vendor/cache | ||
bundle install | ||
``` | ||
|
||
* Get next version number | ||
`bundle exec rake module:verison:next:minor` | ||
|
||
* Create new feature branch | ||
`git checkout -b feature/release-x.y.z` | ||
|
||
* Update CHANGELOG.md. Add a new line just below `## Development` | ||
`## x.y.z (Feb 13, 2019) ` | ||
|
||
* Update `metadata.json` with new version release. | ||
`bundle exec rake module:bump:minor` | ||
|
||
* Submit branch upstream for review. | ||
* Once +1'd, run `!puppet publish puppet-st2 <feature branch name>` | ||
* On success, Merge PR | ||
* Merge PR | ||
* Pull the latest changes back into your local master branch | ||
```shell | ||
git checkout master | ||
git pull | ||
``` | ||
|
||
* Create a new package | ||
`pdk build` | ||
|
||
* Create a new Release on GitHub | ||
* Publish to forge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters