Skip to content
This repository was archived by the owner on Dec 29, 2020. It is now read-only.

Commit fe7786e

Browse files
authored
Merge pull request #48 from vrivellino/vince/rel-v1.3.0-pre1
Prepare for v1.3.0-pre1 release
2 parents ec685f9 + 745ec5f commit fe7786e

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# ChangeLog
22

3+
## v1.3.0-pre1
4+
* #[47](https://github.com/vrivellino/spoptimize/pull/47): Fix coveralls badge URL
5+
* #[46](https://github.com/vrivellino/spoptimize/pull/46): Quick Launch button / nested stack
6+
* #[44](https://github.com/vrivellino/spoptimize/pull/44): Increased test coverage [Follow-up to #41]
7+
* #[43](https://github.com/vrivellino/spoptimize/pull/43): Properly handle launch notifications from attached
8+
instances. (Fix for bug introduced in #40.)
9+
* #[41](https://github.com/vrivellino/spoptimize/pull/41): Improved test coverage
10+
* #[40](https://github.com/vrivellino/spoptimize/pull/40): Allow for missing SubnetId [Follow-up to #39]
11+
* #[39](https://github.com/vrivellino/spoptimize/pull/39): Support security-group names in launch-config for
12+
EC2-Classic support
13+
* #[38](https://github.com/vrivellino/spoptimize/pull/38): Use auto-scaling instance protection for min OD via
14+
`spoptimize:min_protected_instances` tag [Implements #23]
15+
* New IAM privs: `autoscaling:SetInstanceProtection`, `ec2:DescribeSecurityGroups`
16+
317
## v1.2.1
418
* #[37](https://github.com/vrivellino/spoptimize/pull/37): Deploy.sh fix
519

scripts/prepare-for-release.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ def gh_pull_request(pr_num):
3535
return change_log_entry
3636

3737

38+
def produce_iam_diff(cur_version_str):
39+
return subprocess.check_output(['git', 'diff', '{}...HEAD'.format(cur_version_str.split('-')[0]), 'iam-global.yml'])
40+
41+
3842
def update_changelog(lines, cur_version_str, new_version_str):
3943
with open(os.path.join(here, '..', 'CHANGELOG.md')) as f:
4044
with open(os.path.join(here, '..', 'CHANGELOG-new.md'), 'w') as w:
@@ -44,7 +48,9 @@ def update_changelog(lines, cur_version_str, new_version_str):
4448
w.write('## {}\n'.format(new_version_str))
4549
for line_new in lines:
4650
w.write(line_new)
47-
w.write('\n')
51+
w.write('\n* New IAM privs:\n```diff\n')
52+
w.write(produce_iam_diff(cur_version_str))
53+
w.write('```\n\n')
4854
w.write(line)
4955

5056

0 commit comments

Comments
 (0)