Skip to content
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

add options to set version on files #2954

Merged
merged 2 commits into from
Nov 22, 2019
Merged

Conversation

chriselion
Copy link
Contributor

Adds a --new-version option to the version validation script. This makes it a little less tedious to do a new release.

(venv) ~/code/ml-agents (develop-update-versions) $ python utils/validate_versions.py --new-version=0.42.0
Updating to verison 0.42.0
Setting ml-agents/mlagents/trainers/__init__.py to version 0.42.0
Setting ml-agents-envs/mlagents/envs/__init__.py to version 0.42.0
Setting gym-unity/gym_unity/__init__.py to version 0.42.0
(venv) ~/code/ml-agents (develop-update-versions) $ git diff
diff --git a/gym-unity/gym_unity/__init__.py b/gym-unity/gym_unity/__init__.py
index ae6db5f1..92717f71 100644
--- a/gym-unity/gym_unity/__init__.py
+++ b/gym-unity/gym_unity/__init__.py
@@ -1 +1 @@
-__version__ = "0.11.0"
+__version__ = "0.42.0"
diff --git a/ml-agents-envs/mlagents/envs/__init__.py b/ml-agents-envs/mlagents/envs/__init__.py
index ae6db5f1..92717f71 100644
--- a/ml-agents-envs/mlagents/envs/__init__.py
+++ b/ml-agents-envs/mlagents/envs/__init__.py
@@ -1 +1 @@
-__version__ = "0.11.0"
+__version__ = "0.42.0"
diff --git a/ml-agents/mlagents/trainers/__init__.py b/ml-agents/mlagents/trainers/__init__.py
index ae6db5f1..92717f71 100644
--- a/ml-agents/mlagents/trainers/__init__.py
+++ b/ml-agents/mlagents/trainers/__init__.py
@@ -1 +1 @@
-__version__ = "0.11.0"
+__version__ = "0.42.0"

@chriselion chriselion requested a review from ervteng November 22, 2019 19:33
Copy link
Contributor

@ervteng ervteng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@chriselion chriselion merged commit 5d69850 into develop Nov 22, 2019
@delete-merged-branch delete-merged-branch bot deleted the develop-update-versions branch November 22, 2019 20:50
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants