浏览代码

Update version to 'pre.2' (#5326)

/2.0-verified
GitHub 4 年前
当前提交
9bf065aa
共有 7 个文件被更改,包括 10 次插入10 次删除
  1. 6
      DevProject/Packages/packages-lock.json
  2. 2
      Project/Packages/packages-lock.json
  3. 2
      com.unity.ml-agents.extensions/package.json
  4. 2
      com.unity.ml-agents/CHANGELOG.md
  5. 2
      com.unity.ml-agents/Runtime/Academy.cs
  6. 4
      com.unity.ml-agents/package.json
  7. 2
      utils/validate_versions.py

6
DevProject/Packages/packages-lock.json


{
"dependencies": {
"com.unity.barracuda": {
"version": "1.4.0-preview",
"version": "2.0.0-pre.2",
"depth": 1,
"source": "registry",
"dependencies": {

"depth": 0,
"source": "local",
"dependencies": {
"com.unity.barracuda": "1.4.0-preview",
"com.unity.barracuda": "2.0.0-pre.2",
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0"
}

"depth": 0,
"source": "local",
"dependencies": {
"com.unity.ml-agents": "2.0.0-exp.1",
"com.unity.ml-agents": "2.0.0-pre.2",
"com.unity.modules.physics": "1.0.0"
}
},

2
Project/Packages/packages-lock.json


"depth": 0,
"source": "local",
"dependencies": {
"com.unity.ml-agents": "2.0.0-exp.1",
"com.unity.ml-agents": "2.0.0-pre.2",
"com.unity.modules.physics": "1.0.0"
}
},

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


"unity": "2019.4",
"description": "A source-only package for new features based on ML-Agents",
"dependencies": {
"com.unity.ml-agents": "2.0.0-exp.1",
"com.unity.ml-agents": "2.0.0-pre.2",
"com.unity.modules.physics": "1.0.0"
}
}

2
com.unity.ml-agents/CHANGELOG.md


and this project adheres to
[Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [2.0.0-exp.1] - 2021-04-22
## [2.0.0-pre.2] - 2021-04-22
### Major Changes
#### com.unity.ml-agents / com.unity.ml-agents.extensions (C#)
- The minimum supported Unity version was updated to 2019.4. (#5166)

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 = "2.0.0-exp.1";
internal const string k_PackageVersion = "2.0.0-pre.2";
const int k_EditorTrainingPort = 5004;

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


{
"name": "com.unity.ml-agents",
"displayName": "ML Agents",
"version": "2.0.0-exp.1",
"version": "2.0.0-pre.2",
"com.unity.barracuda": "1.4.0-preview",
"com.unity.barracuda": "2.0.0-pre.2",
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0"
}

2
utils/validate_versions.py


f.write(new_contents)
if csharp_version is not None:
package_version = f"{csharp_version}-exp.1"
package_version = f"{csharp_version}-pre.2"
if csharp_extensions_version is not None:
# since this has never been promoted we need to keep
# it in preview forever or CI will fail

正在加载...
取消
保存