Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
seljabali committed Mar 29, 2024
1 parent bf022e0 commit 2f7542f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/calculate_next_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def get_latest_tag():
return valid_tags[0] if valid_tags else None

def calculate_next_tag():
now = datetime.utcnow()
now = datetime.datetime.now(datetime.UTC)
year, week, _ = now.isocalendar()
week_str = f"{week:02d}" # Ensure week is two digits

Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/generate_release_notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def get_latest_tag():
return valid_tags[0] if valid_tags else None

def calculate_next_tag():
now = datetime.utcnow()
now = datetime.datetime.now(datetime.UTC)
year, week, _ = now.isocalendar()
week_str = f"{week:02d}" # Ensure week is two digits

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-tag-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fetch-depth: 0 # Necessary for scripts to access all tags and .github/release.yml

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.x'

Expand Down

0 comments on commit 2f7542f

Please sign in to comment.