Skip to content

Commit

Permalink
Merge pull request #60 from opentensor/hotfix/auto_script_bug_fix
Browse files Browse the repository at this point in the history
Autorun script bug fixes
  • Loading branch information
Eugene-hu committed Nov 2, 2023
2 parents d16ba3f + 80f3454 commit 6c493cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion prompting/validators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from . import event
from . import dataset

__version__ = "2.1.0"
__version__ = "2.1.1"
version_split = __version__.split(".")
__spec_version__ = (
(1000 * int(version_split[0]))
Expand Down
4 changes: 2 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ script="neurons/validators/validator.py"
autoRunLoc=$(readlink -f "$0")
proc_name="text_prompt_validators_main_process"
args=()
version_location="./prompting/__init__.py"
version_location="./prompting/validators/__init__.py"
version="__version__"

old_args=$@
Expand Down Expand Up @@ -229,7 +229,7 @@ if [ "$?" -eq 1 ]; then
if [ -d "./.git" ]; then

# check value on github remotely
latest_version=$(check_variable_value_on_github "opentensor/validators" "openvalidators/__init__.py" "__version__ ")
latest_version=$(check_variable_value_on_github "opentensor/text-prompting" "prompting/validators/__init__.py" "__version__ ")

# If the file has been updated
if version_less_than $current_version $latest_version; then
Expand Down

0 comments on commit 6c493cb

Please sign in to comment.