Skip to content

Commit

Permalink
Set WIP version to 0.6.9 to prevent issues if someone does something …
Browse files Browse the repository at this point in the history
…they shouldn't
  • Loading branch information
ianwal committed Jul 21, 2024
1 parent 6310921 commit 2ecf26c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/hydrusvideodeduplicator/__about__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# SPDX-License-Identifier: MIT
__version__ = "0.7.0"
__version__ = "0.6.9"
6 changes: 3 additions & 3 deletions src/hydrusvideodeduplicator/db/DedupeDB.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,8 +531,8 @@ def print_upgrade(version: str, new_version: str):
if not self.does_need_upgrade():
return

if SemanticVersion(version) < SemanticVersion("0.7.0"):
print_upgrade(version, "0.7.0")
if SemanticVersion(version) < SemanticVersion("0.6.9"):
print_upgrade(version, "0.6.9")

# Create version table
self.execute("CREATE TABLE IF NOT EXISTS version (version TEXT)")
Expand Down Expand Up @@ -585,7 +585,7 @@ def print_upgrade(version: str, new_version: str):
self.associate_file_with_perceptual_hash(video_hash, perceptual_hash)
pbar.update(1)

self.set_version("0.7.0")
self.set_version("0.6.9")
# Note: We need to keep re-running get_version so that we can progressively upgrade.
version = self.get_version()

Expand Down

0 comments on commit 2ecf26c

Please sign in to comment.