Skip to content

Commit

Permalink
revert and test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
roumail committed Oct 15, 2024
1 parent fb8feba commit 3fa08e0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ and this project adheres to

## [Unreleased]

## [1.1.0] - 2024-10-15

### Fixed

- Removed poetry from dependencies for building and releasing the package.
Expand Down
17 changes: 0 additions & 17 deletions release.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import subprocess
import sys
from datetime import datetime


def bump_version(bump_type):
Expand All @@ -23,19 +22,6 @@ def bump_version(bump_type):
return new_version


# Update the changelog.md file
def update_changelog(version):
changelog_path = "CHANGELOG.md"
with open(changelog_path, "r") as f:
lines = f.readlines()

with open(changelog_path, "w") as f:
for line in lines:
f.write(line)
if line.strip() == "## [Unreleased]":
f.write(f'\n## [{version}] - {datetime.now().strftime("%Y-%m-%d")}\n')


def delete_tag(tag):
# Delete the local and remote tag if it exists
print(f"Deleting existing tag {tag} locally and remotely...")
Expand Down Expand Up @@ -84,9 +70,6 @@ def main():
# Bump the version
new_version = bump_version(bump_type)

# Update the changelog
update_changelog(new_version)

# Commit and tag the changes
update_git(new_version)

Expand Down

0 comments on commit 3fa08e0

Please sign in to comment.