Skip to content

Commit

Permalink
[CodeBuild] fix script call
Browse files Browse the repository at this point in the history
  • Loading branch information
MarleneKress79789 committed Dec 19, 2023
1 parent 02b8d0c commit 71f6f5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
fetch-depth: 0
- uses: ./.github/actions/prepare_poetry_env
- name: Check Release
run: ./scripts/check_release_version.sh
run: poetry run python3 -u "./scripts/check_release.py"
2 changes: 1 addition & 1 deletion scripts/check_release_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def get_poetry_version():

def get_change_log_version():
# Path overloads __truediv__
with open(Path(__file__).parent / ".." / ".." / "doc" / "changes" / "changelog.md") as changelog:
with open(Path(__file__).parent / ".." / "doc" / "changes" / "changelog.md") as changelog:
changelog_str = changelog.read()
# Search for the FIRST pattern like: "* [0.5.0](changes_0.5.0.md)" in the changelog file.
# Note that we encapsulate the [(0.5.0)] with parenthesis, which tells re to return the matching string as group
Expand Down

0 comments on commit 71f6f5d

Please sign in to comment.