Skip to content

Commit

Permalink
Bump version to v0.1.0 for release
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Nov 19, 2021
1 parent 1b2cc45 commit 08e834b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [v0.1.0](https://github.com/allenai/beaker-py/releases/tag/v0.1.0) - 2021-11-19

### Added

- Added `Beaker` client class.
5 changes: 3 additions & 2 deletions scripts/prepare_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def main():
with changelog.open() as f:
lines = f.readlines()

insert_index: int
insert_index: int = -1
for i in range(len(lines)):
line = lines[i]
if line.startswith("## Unreleased"):
Expand All @@ -20,7 +20,8 @@ def main():
return
elif line.startswith("## [v"):
break
else:

if insert_index < 0:
raise RuntimeError("Couldn't find 'Unreleased' section")

lines.insert(insert_index, "\n")
Expand Down

0 comments on commit 08e834b

Please sign in to comment.