Skip to content

Updated versions for main. Also updated validate versions script to r… #5668

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
Jan 14, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions com.unity.ml-agents.extensions/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "com.unity.ml-agents.extensions",
"displayName": "ML Agents Extensions",
"version": "0.5.0-preview",
"version": "0.6.0-preview",
"unity": "2019.4",
"description": "A source-only package for new features based on ML-Agents",
"dependencies": {
"com.unity.ml-agents": "2.1.0-exp.1",
"com.unity.ml-agents": "2.2.0",
"com.unity.modules.physics": "1.0.0"
}
}
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.1.0-exp.1";
internal const string k_PackageVersion = "2.2.0";

const int k_EditorTrainingPort = 5004;

Expand Down
2 changes: 1 addition & 1 deletion com.unity.ml-agents/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.unity.ml-agents",
"displayName": "ML Agents",
"version": "2.1.0-exp.1",
"version": "2.2.0",
"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": {
Expand Down
2 changes: 1 addition & 1 deletion gym-unity/gym_unity/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Version of the library that will be used to upload to pypi
__version__ = "0.28.0.dev0"
__version__ = "0.29.0.dev0"

# Git tag that will be checked to determine whether to trigger upload to pypi
__release_tag__ = None
2 changes: 1 addition & 1 deletion ml-agents-envs/mlagents_envs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Version of the library that will be used to upload to pypi
__version__ = "0.28.0.dev0"
__version__ = "0.29.0.dev0"

# Git tag that will be checked to determine whether to trigger upload to pypi
__release_tag__ = None
2 changes: 1 addition & 1 deletion ml-agents/mlagents/trainers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Version of the library that will be used to upload to pypi
__version__ = "0.28.0.dev0"
__version__ = "0.29.0.dev0"

# Git tag that will be checked to determine whether to trigger upload to pypi
__release_tag__ = None
4 changes: 3 additions & 1 deletion utils/validate_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ def set_version(
f.write(new_contents)

if csharp_version is not None:
package_version = f"{csharp_version}-exp.1"
# removed exp.1 tag from version strings since MLA package is a full package now
# package_version = f"{csharp_version}-exp.1"
package_version = f"{csharp_version}"
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