Skip to content

Commit

Permalink
bump version to 0.3.0 (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
hkvision authored Oct 29, 2018
1 parent 24dcdf4 commit 63393f3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 34 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ MAINTAINER The Analytics-Zoo Authors https://github.com/intel-analytics/analytic

WORKDIR /opt/work

ARG ANALYTICS_ZOO_VERSION=0.3.0-SNAPSHOT
ARG ANALYTICS_ZOO_VERSION=0.3.0
ARG BIGDL_VERSION=0.6.0
ARG SPARK_VERSION=2.3.1
ARG RUNTIME_DRIVER_CORES=4
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/PythonUserGuide/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ For Python users, Analytics Zoo can be installed either [from pip](#install-from
You can use the following command to install the latest release version of __analytics-zoo__ via pip easily:

```bash
pip install analytics-zoo # for Python 2.7
pip3 install analytics-zoo # for Python 3.5 and Python 3.6
pip install analytics-zoo==0.3.0 # for Python 2.7
pip3 install analytics-zoo==0.3.0 # for Python 3.5 and Python 3.6
```

* Note that you might need to add `sudo` if you don't have the permission for installation.
Expand Down
31 changes: 3 additions & 28 deletions docs/docs/ScalaUserGuide/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
You can download the Analytics Zoo release and nightly build from the [Release Page](../release-download.md)

---
## **Link with a release version**
## **Link with Analytics Zoo 0.3.0 Release**

Currently, Analytics Zoo releases are hosted on maven central; here's an example to add the Analytics Zoo dependency to your own project:
```xml
<dependency>
<groupId>com.intel.analytics.zoo</groupId>
<artifactId>analytics-zoo-bigdl_0.6.0-[spark_1.6.2|spark_2.1.1|spark_2.2.0|spark_2.3.1]</artifactId>
<version>${ANALYTICS_ZOO_VERSION}</version>
<version>0.3.0</version>
</dependency>
```

SBT developers can use
```sbt
libraryDependencies += "com.intel.analytics.zoo" % "analytics-zoo-bigdl_0.6.0-[spark_1.6.2|spark_2.1.1|spark_2.2.0|spark_2.3.1]" % "${ANALYTICS_ZOO_VERSION}"
libraryDependencies += "com.intel.analytics.zoo" % "analytics-zoo-bigdl_0.6.0-[spark_1.6.2|spark_2.1.1|spark_2.2.0|spark_2.3.1]" % "0.3.0"
```

Remarks:
Expand All @@ -26,31 +26,6 @@ Remarks:
- You can find the option `${ANALYTICS_ZOO_VERSION}` from the [Release Page](../release-download.md).

---
## **Link with a development version**

Currently, Analytics Zoo development version is hosted on [SonaType](https://oss.sonatype.org/content/groups/public/com/intel/analytics/zoo/).

To link your application with the latest Analytics Zoo development version, you should add some dependencies like [Linking with Analytics Zoo releases](#link-with-a-release-version), but set `${ANALYTICS_ZOO_VERSION}` to latest version, and add below repository to your pom.xml.

```xml
<repository>
<id>sonatype</id>
<name>sonatype repository</name>
<url>https://oss.sonatype.org/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
```

SBT developers can use
```sbt
resolvers += "ossrh repository" at "https://oss.sonatype.org/content/repositories/snapshots/"
```

## **Download Analytics Zoo Source**

Analytics Zoo source code is available at [GitHub](https://github.com/intel-analytics/analytics-zoo)
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.intel.analytics.zoo</groupId>
<artifactId>zoo-parent</artifactId>
<packaging>pom</packaging>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>

<name>zoo-parent</name>
<description>A distributed analytics library for Apache Spark.</description>
Expand Down
2 changes: 1 addition & 1 deletion pyzoo/zoo/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
# limitations under the License.
#

__version__ = "0.3.0.dev0"
__version__ = "0.3.0"
2 changes: 1 addition & 1 deletion zoo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>zoo-parent</artifactId>
<groupId>com.intel.analytics.zoo</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.0</version>
</parent>

<artifactId>analytics-zoo-bigdl_${bigdl.version}-spark_${spark.version}</artifactId>
Expand Down

0 comments on commit 63393f3

Please sign in to comment.