Skip to content

Commit

Permalink
Fixing build scripts to ignore prepare steps
Browse files Browse the repository at this point in the history
  • Loading branch information
lasanthak committed Apr 1, 2021
1 parent 14e2b5a commit 43254ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions build-config/build-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ set -o pipefail
set -o nounset

LAST_COMMIT_MSG=$(git log -1 --pretty=format:"%s")
LAST_COMMIT_TAG=$(git log -1 --pretty=format:"%h")
if [[ ("$LAST_COMMIT_MSG" == '[maven-release-plugin] prepare release'* ) && ( -z "$LAST_COMMIT_TAG" ) ]] ; then
if [[ ("$LAST_COMMIT_MSG" == '[maven-release-plugin] prepare release'* ) ]] ; then
echo 'Skipping build for release preparation step.'
exit 0
fi
Expand Down
3 changes: 1 addition & 2 deletions build-config/build-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ set -o pipefail
set -o nounset

LAST_COMMIT_MSG=$(git log -1 --pretty=format:"%s")
LAST_COMMIT_TAG=$(git log -1 --pretty=format:"%h")
if [[ ("$LAST_COMMIT_MSG" == '[maven-release-plugin] prepare release'* ) && ( -z "$LAST_COMMIT_TAG" ) ]] ; then
if [[ ("$LAST_COMMIT_MSG" == '[maven-release-plugin] prepare release'* ) ]] ; then
echo 'Skipping build for release preparation step.'
exit 0
fi
Expand Down
2 changes: 1 addition & 1 deletion jarviz-graph/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vrbo/jarviz-graph",
"version": "0.0.17",
"version": "0.0.18",
"description": "Utility for graphing JAR coupling data provided via jarviz",
"main": "lib/index.js",
"bin": "./bin/index.js",
Expand Down

0 comments on commit 43254ed

Please sign in to comment.