release: prepare Web 2.0.0
This commit is contained in:
@@ -17,6 +17,8 @@ from ranch_assistant.progression import ProgressionPolicy
|
||||
from ranch_assistant.exploration import ExplorePolicy
|
||||
from ranch_assistant import policy_io
|
||||
|
||||
from . import __version__
|
||||
|
||||
|
||||
POLICY_CLASSES = {
|
||||
"policy": Policy, "quest_policy": QuestPolicy, "daily_policy": DailyPolicy,
|
||||
@@ -217,7 +219,7 @@ def apply_config(engine, config):
|
||||
|
||||
def export_config(config, snapshot=None):
|
||||
value = policy_io.portable_config(validate_config(config), snapshot)
|
||||
value["assistantVersion"] = "2.0.0.dev1"
|
||||
value["assistantVersion"] = __version__
|
||||
return value
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user