Skip to content

Commit

Permalink
update action to run all scripts on update
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfiex committed Sep 13, 2024
1 parent b425d2c commit 1393fb5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion JSONLD/scripts/__setup__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ def finalise(data,name):
datastr = json.dumps(data, indent=4),

# Get the current version tag (if any)
version_tag = subprocess.check_output(["git", "describe", "--tags", "--abbrev=0"]).strip().decode()
try:
version_tag = subprocess.check_output(["git", "describe", "--tags", "--abbrev=0"]).strip().decode()
except subprocess.CalledProcessError:
version_tag = "v0.0.0" # Default version or handle as needed
# Get the latest commit hash
commit_hash = subprocess.check_output(["git", "rev-parse", "HEAD"]).strip().decode()
# Get the previous commit hash
Expand Down
6 changes: 3 additions & 3 deletions MIP_frequency.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"version_metadata": {
"version_tag": "v6.5.0.2",
"checksum": "3c7e52f4dfb1ab132c7656da727a7ef1",
"commit": "315d15543e15a05eccae8ca50ccc254987544448",
"commit": "b425d2c325a2ee19a19055a9e51c2813494db67c",
"previous_commit": "f71997b7dd6b1bef27184f994ac1a5bf0c8eb4db",
"frequency_modified": "Thu, 12 Sep 2024 14:36:06 +0100",
"frequency_note": "archive zip"
"frequency_modified": "Fri, 13 Sep 2024 23:58:41 +0100",
"frequency_note": "update action to run all scripts on update"
}
}

0 comments on commit 1393fb5

Please sign in to comment.