Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request #35 from Manuri/migrate-to-0.975.0
Browse files Browse the repository at this point in the history
Make version in scripts auto update
  • Loading branch information
Manuri authored Jul 1, 2018
2 parents 89bc1ad + fda4de3 commit 77ed143
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions component/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@
</dependencies>

<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<!-- For ballerina annotation processing -->
<plugin>
Expand Down
2 changes: 1 addition & 1 deletion component/src/main/assembly/dist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<outputDirectory>./balo</outputDirectory>
</fileSet>
<fileSet>
<directory>${project.basedir}/src/main/resources/installation-scripts</directory>
<directory>${project.build.directory}/classes/installation-scripts</directory>
<outputDirectory>.</outputDirectory>
</fileSet>
</fileSets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ IF NOT EXIST "%ballerina_home%/bin/ballerina.bat" (

SET ballerina_lib_location=%ballerina_home%\bre\lib
SET ballerina_balo_location=%ballerina_home%\lib\repo
SET version=0.5.7-SNAPSHOT
SET version=${project.version}
SET package_name=cassandra

IF EXIST "%ballerina_lib_location%\wso2-%package_name%-package-%version%.jar" (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi

ballerina_lib_location=$ballerina_home/bre/lib/
ballerina_balo_location=$ballerina_home/lib/repo/
version=0.5.7-SNAPSHOT
version=${project.version}
package_name=cassandra

if [ -e "$ballerina_lib_location/wso2-$package_name-package-$version.jar" ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ SET /P ballerina_home=Please enter Ballerina home:

SET ballerina_lib_location=%ballerina_home%\bre\lib\
SET ballerina_balo_location=%ballerina_home%\lib\repo\
SET version=0.5.7-SNAPSHOT
SET version=${project.version}
SET package_name=cassandra

IF NOT EXIST "%ballerina_lib_location%\wso2-%package_name%-package-%version%.jar" (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi

ballerina_lib_location=$ballerina_home/bre/lib/
ballerina_balo_location=$ballerina_home/lib/repo/
version=0.5.7-SNAPSHOT
version=${project.version}
package_name=cassandra

if [ ! -e "$ballerina_lib_location/wso2-$package_name-package-$version.jar" ]
Expand Down

0 comments on commit 77ed143

Please sign in to comment.