Skip to content

Commit

Permalink
fix(release-notes): Remove dependency on gitlab for release notes (#614)
Browse files Browse the repository at this point in the history
  • Loading branch information
sasa-tomic committed Jul 17, 2024
1 parent 8376051 commit 0294110
Show file tree
Hide file tree
Showing 5 changed files with 297 additions and 677 deletions.
8 changes: 0 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,6 @@ repos:
"-sn", # Don't display the score
"--disable=R,C,W0621,E0401,W0703,E1123", # Disable: Refactor, Convention, some warnings
]
additional_dependencies: # All necessary for successful PyLint in all environments
[
"pandas==1.5.3",
"elasticsearch==7.17.8",
"elasticsearch_dsl==7.4.0",
"requests",
"tabulate",
]
- repo: local
hooks:
- id: release-index-checks
Expand Down
4 changes: 2 additions & 2 deletions release-controller/google_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from markdownify import markdownify
from pydrive2.auth import GoogleAuth
from pydrive2.drive import GoogleDrive
from release_notes import release_notes
from release_notes import prepare_release_notes

md = markdown.Markdown(
extensions=["pymdownx.tilde"],
Expand Down Expand Up @@ -40,7 +40,7 @@ def ensure(self, since_commit: str, version_name: str, git_revision: str, tag_te
existing_file = self.file(git_revision)
if existing_file:
return existing_file
content = release_notes(
content = prepare_release_notes(
first_commit=since_commit,
last_commit=git_revision,
release_name=version_name,
Expand Down
Loading

0 comments on commit 0294110

Please sign in to comment.