Skip to content

Commit

Permalink
POM version updates for amazon-neptune-tools-1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
beebs-systap committed Sep 17, 2020
1 parent 36e0ff8 commit 5f11038
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0
1
2 changes: 1 addition & 1 deletion neo4j-to-neptune/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.amazonaws</groupId>
<artifactId>neo4j-to-neptune</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.1</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
2 changes: 1 addition & 1 deletion neptune-export/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.amazonaws</groupId>
<artifactId>neptune-export</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.1</version>

<licenses>
<license>
Expand Down
2 changes: 1 addition & 1 deletion neptune-gremlin-client/gremlin-client-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>neptune-gremlin-client</artifactId>
<groupId>software.amazon.neptune</groupId>
<version>1.0-SNAPSHOT</version>
<version>1.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion neptune-gremlin-client/gremlin-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>neptune-gremlin-client</artifactId>
<groupId>software.amazon.neptune</groupId>
<version>1.0-SNAPSHOT</version>
<version>1.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>neptune-gremlin-client</artifactId>
<groupId>software.amazon.neptune</groupId>
<version>1.0-SNAPSHOT</version>
<version>1.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion neptune-gremlin-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>software.amazon.neptune</groupId>
<artifactId>neptune-gremlin-client</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<version>1.1</version>

<licenses>
<license>
Expand Down
12 changes: 6 additions & 6 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ if [ ! -f "$VERSION_FILE" ] ; then
exit 1
fi

if [ "$GIT_BRANCH" != "mainline" ] ; then
echo "WARNING: Starting a release from a non-mainline branch."
if [ "$GIT_BRANCH" != "master" ] ; then
echo "WARNING: Starting a release from a non-master branch."
fi

let NEW_VERSION=`cat $VERSION_FILE`+1
Expand Down Expand Up @@ -86,13 +86,13 @@ ${GIT_CMD} push "${repo}" refs/heads/${RELEASE_BRANCH}
echo "Pushing the release tags to $repo."
${GIT_CMD} push "${repo}" refs/tags/${RELEASE_BRANCH}

#Update the VERSION on mainline
#Update the VERSION on master

${GIT_CMD} checkout mainline
${GIT_CMD} checkout master
echo $NEW_VERSION > $VERSION_FILE
${GIT_CMD} pull $repo mainline
${GIT_CMD} commit -am "Incremented release version to `cat $VERSION_FILE`"
${GIT_CMD} push $repo mainline
${GIT_CMD} pull $repo master
${GIT_CMD} push $repo master

#Return to the initial branch
${GIT_CMD} checkout ${GIT_BRANCH}
Expand Down

0 comments on commit 5f11038

Please sign in to comment.