Skip to content

Commit

Permalink
quick fix for cicd #2
Browse files Browse the repository at this point in the history
  • Loading branch information
majidaldo committed Jan 5, 2025
1 parent 6196514 commit 04db712
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pytqshacl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "115"
__version__ = "116"
from .topquadrant import ver as tq_ver
topquadrant_version = tq_ver
from .run import validate, infer
5 changes: 4 additions & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
def get_rev():
from subprocess import check_output as run
return run('git rev-parse --abbrev-ref HEAD', text=True).strip()
rev = get_rev()
try:
rev = get_rev()
except FileNotFoundError: # no git in cicd maybe
rev = '{NO GIT}' #


def build(commit=False):
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 04db712

Please sign in to comment.