Skip to content

Commit

Permalink
Fix: Miniver patch: NO -dirty suffix, expected.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTail committed Jul 30, 2023
1 parent 6ee1694 commit 5bd25d4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions octoprint_octorelay/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,10 @@ def get_version_from_git():
p = subprocess.Popen(["git", "diff", "--quiet"], cwd=package_root)
except OSError:
labels.append("confused") # This should never happen.
else:
if p.wait() == 1:
labels.append("dirty")
# patched for no "-dirty", JavaScript is being compiled during the release workflow, not committed
# else:
# if p.wait() == 1:
# labels.append("dirty")

return Version(release, dev, labels)

Expand Down

0 comments on commit 5bd25d4

Please sign in to comment.