Skip to content

Commit

Permalink
Bump version to 0.1.1 for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Golhar authored and Ryan Golhar committed Apr 9, 2024
1 parent b27a3ed commit 148a3d2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [v0.1](https://biogit.pri.bms.com/NGS/cwl_platform/releases/tag/v0.1) - 2024-03-21
## [v0.1.1](https://github.com/NGS360/PAML/releases/tag/v0.1.1) - 2024-04-09

## [v0.0.1](https://biogit.pri.bms.com/NGS/cwl_platform/releases/tag/v0.0.1) - 2024-02-28
### Fixed

### Added

- Converted to installable python package
- Fixed how we iterate files in a SevenBridges project
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "cwl_platform"
version = "0.1"
version = "0.1.1"
authors = [
{ name="Ryan Golhar", email="ryan.golhar@bms.com" },
{ name="Maggie Chen", email="yu.chen2@bms.com" }
Expand Down
2 changes: 1 addition & 1 deletion scripts/prepare_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def main():
lines.insert(insert_index, "\n")
lines.insert(
insert_index + 1,
f"## [v{VERSION}](https://biogit.pri.bms.com/NGS/cwl_platform/releases/tag/v{VERSION}) - "
f"## [v{VERSION}](https://github.com/NGS360/PAML/releases/tag/v{VERSION}) - "
f"{datetime.now().strftime('%Y-%m-%d')}\n",
)

Expand Down
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TAG=$(grep version pyproject.toml | cut -d '=' -f2 | sed 's/"//g' | tr -d '[:spa
read -p "Creating new release for v$TAG. Do you want to continue? [Y/n] " prompt

if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
python scripts/prepare_changelog.py $TAG
python3 scripts/prepare_changelog.py $TAG
git add -A
git commit -m "Bump version to $TAG for release" || true && git push
echo "Creating new git tag $TAG"
Expand Down

0 comments on commit 148a3d2

Please sign in to comment.