浏览代码

Update version for release 4 (master) (#4207)

* Update version for release 4

* newline in json file

* actually fix newline

Co-authored-by: Chris Elion <chris.elion@unity3d.com>
/MLA-1734-demo-provider
GitHub 5 年前
当前提交
52d126dd
共有 6 个文件被更改,包括 6 次插入5 次删除
  1. 2
      com.unity.ml-agents/Runtime/Academy.cs
  2. 2
      com.unity.ml-agents/package.json
  3. 2
      gym-unity/gym_unity/__init__.py
  4. 2
      ml-agents-envs/mlagents_envs/__init__.py
  5. 2
      ml-agents/mlagents/trainers/__init__.py
  6. 1
      utils/validate_versions.py

2
com.unity.ml-agents/Runtime/Academy.cs


/// Unity package version of com.unity.ml-agents.
/// This must match the version string in package.json and is checked in a unit test.
/// </summary>
internal const string k_PackageVersion = "1.1.0-preview";
internal const string k_PackageVersion = "1.2.0-preview";
const int k_EditorTrainingPort = 5004;

2
com.unity.ml-agents/package.json


{
"name": "com.unity.ml-agents",
"displayName": "ML Agents",
"version": "1.1.0-preview",
"version": "1.2.0-preview",
"unity": "2018.4",
"description": "Use state-of-the-art machine learning to create intelligent character behaviors in any Unity environment (games, robotics, film, etc.).",
"dependencies": {

2
gym-unity/gym_unity/__init__.py


# Version of the library that will be used to upload to pypi
__version__ = "0.18.0.dev0"
__version__ = "0.19.0.dev0"
# Git tag that will be checked to determine whether to trigger upload to pypi
__release_tag__ = None

2
ml-agents-envs/mlagents_envs/__init__.py


# Version of the library that will be used to upload to pypi
__version__ = "0.18.0.dev0"
__version__ = "0.19.0.dev0"
# Git tag that will be checked to determine whether to trigger upload to pypi
__release_tag__ = None

2
ml-agents/mlagents/trainers/__init__.py


# Version of the library that will be used to upload to pypi
__version__ = "0.18.0.dev0"
__version__ = "0.19.0.dev0"
# Git tag that will be checked to determine whether to trigger upload to pypi
__release_tag__ = None

1
utils/validate_versions.py


package_json["version"] = new_version
with open(UNITY_PACKAGE_JSON_PATH, "w") as f:
json.dump(package_json, f, indent=2)
f.write("\n")
def set_academy_version_string(new_version):

正在加载...
取消
保存