Skip to content

Commit

Permalink
handle json conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewelamb committed Apr 17, 2024
1 parent c96ee2e commit 094ede2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion set_release_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,19 @@

import os
from datetime import date

import json
import toml

TODAY = date.today()
TODAYS_YEAR = str(TODAY.year)[-2:]
TODAYS_MONTH = str(TODAY.month)

tags = os.getenv("TAGS")
assert isinstance(tags, str)
print(type(tags))
tags = json.loads(tags)
print(type(tags))
print(tags)

'''
tags = [
Expand Down

0 comments on commit 094ede2

Please sign in to comment.