Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
Fix version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Jul 27, 2023
1 parent a111511 commit c20d234
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflow_data/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

export VERSION_TAG="$(python -c '''
import datetime as dt
import json
import os
with open(os.environ["GITHUB_EVENT_PATH"], "r") as f:
event = json.load(f)
version = int(event["pull_request"]["title"].removeprefix("V").removesuffix(" Release").removesuffix(" Hotfix"))
Expand Down

0 comments on commit c20d234

Please sign in to comment.