Skip to content

Update version to 'pre.2' #5326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions DevProject/Packages/packages-lock.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dependencies": {
"com.unity.barracuda": {
"version": "1.4.0-preview",
"version": "2.0.0-pre.2",
"depth": 1,
"source": "registry",
"dependencies": {
Expand Down Expand Up @@ -55,7 +55,7 @@
"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"
}
Expand All @@ -65,7 +65,7 @@
"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"
}
},
Expand Down
2 changes: 1 addition & 1 deletion Project/Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"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"
}
},
Expand Down
2 changes: 1 addition & 1 deletion com.unity.ml-agents.extensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"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 changes: 1 addition & 1 deletion com.unity.ml-agents/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
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)
Expand Down
2 changes: 1 addition & 1 deletion com.unity.ml-agents/Runtime/Academy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public class Academy : IDisposable
/// 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;

Expand Down
4 changes: 2 additions & 2 deletions com.unity.ml-agents/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "com.unity.ml-agents",
"displayName": "ML Agents",
"version": "2.0.0-exp.1",
"version": "2.0.0-pre.2",
"unity": "2019.4",
"description": "Use state-of-the-art machine learning to create intelligent character behaviors in any Unity environment (games, robotics, film, etc.).",
"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"
}
Expand Down
2 changes: 1 addition & 1 deletion utils/validate_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def set_version(
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
Expand Down