-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ensure_s3_bucket_pr495
- Loading branch information
Showing
15 changed files
with
513 additions
and
62 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Steps to release a new version | ||
|
||
## Preparing for the release | ||
|
||
- Check out a branch named for the version: `git checkout -b release-1.1.1` | ||
- Change version in setup.py and stacker/\_\_init\_\_.py | ||
- Update CHANGELOG.md with changes made since last release (see below for helpful | ||
command) | ||
- add changed files: `git add setup.py stacker/\_\_init\_\_.py CHANGELOG.md` | ||
- Commit changes: `git commit -m "Release 1.1.1"` | ||
- Create a signed tag: `git tag --sign -m "Release 1.1.1" 1.1.1` | ||
- Push branch up to git: `git push -u origin release-1.1.1` | ||
- Open a PR for the release, ensure that tests pass | ||
|
||
## Releasing | ||
|
||
- Push tag: `git push --tags` | ||
- Merge PR into master, checkout master locally: `git checkout master; git pull` | ||
- Create PyPI release: `python setup.py sdist upload --sign` | ||
- Update github release page: https://github.com/remind101/stacker/releases | ||
- use the contents of the latest CHANGELOG entry for the body. | ||
|
||
# Helper to create CHANGELOG entries | ||
git log --reverse --pretty=format:"%s" | tail -100 | sed 's/^/- /' |
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
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 +1 @@ | ||
__version__ = "1.1.1" | ||
__version__ = "1.1.2" |
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
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
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
Oops, something went wrong.