Skip to content

Commit

Permalink
Build all sockjs client versions on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollovati committed Jun 11, 2019
1 parent f8f34b2 commit aa4038c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
- v2-dependencies-{{ checksum "pom.xml" }}
- v2-dependencies-
- run: ./mvnw -Prelease,release-flow -pl :vertx-vaadin-flow -DskipTests clean deploy
- run: ./tools/build_flow_widgetsets.sh deploy


workflows:
Expand Down
5 changes: 3 additions & 2 deletions tools/build_flow_widgetsets.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/usr/bin/env bash

_base_dir=$(dirname $(realpath $0))
_action=${1:package}

vaadin_releases=(10)
vaadin_releases=(13)
for rel in ${vaadin_releases[@]}; do

echo "Fetch Vaadin versions for ${rel}..."
Expand All @@ -16,7 +17,7 @@ for rel in ${vaadin_releases[@]}; do
cat target/flow-client.version | grep 'com.vaadin:flow-client' | cut -d ':' -f 4)

echo "Deploying vaadin-flow-sockjs for vaadin ${version}, flow client ${flow_client_version}"
$_base_dir/../mvnw -B -Prelease-flow -pl :vaadin-flow-sockjs -Dvertx-vaadin.release -DskipTests -Dvaadin.platform.version=${version} -Dvaadin.flow.version=${flow_client_version} clean deploy
$_base_dir/../mvnw -B -Prelease-flow -pl :vaadin-flow-sockjs -Dvertx-vaadin.release -DskipTests -Dvaadin.platform.version=${version} -Dvaadin.flow.version=${flow_client_version} clean $_action
done
done

0 comments on commit aa4038c

Please sign in to comment.