Skip to content

Commit

Permalink
Release - added push to master step
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadius committed Sep 3, 2020
1 parent e323358 commit 6d10421
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,11 @@ ARGS="release $@"
JAVA_OPTS_VAL="-Xmx2G -XX:ReservedCodeCacheSize=256M -Xss6M -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled"
echo "Executing: JAVA_OPTS=\"$JAVA_OPTS_VAL\" sbt \"$ARGS\""
JAVA_OPTS="$JAVA_OPTS_VAL" ./sbtwrapper -DdockerUpLatest=${dockerUpdateLatest} "$ARGS"

if [[ "$BACKPORT" == "true" ]]; then
echo "Backport release - Skipping updating docs (by push to master)"
else
echo "Normal release - Updating docs (by push to master)"
git push origin HEAD:master -f
fi

0 comments on commit 6d10421

Please sign in to comment.