Skip to content

Commit

Permalink
chore: fix build script after repo renaming [skip ci] (#804) (#805)
Browse files Browse the repository at this point in the history
* chore: fix build script after repo renaming [skip ci]

* chore: update in prepareDeploy.sh [skip ci]

Co-authored-by: Zhe Sun <[email protected]>
  • Loading branch information
vaadin-bot and ZheSun88 authored Apr 13, 2021
1 parent b817779 commit ce90032
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fi
## compute modules that were modified in this PR
if [ -z "$modules" -a -n "$PR" ]
then
modified=`curl -s https://api.github.com/repos/vaadin/vaadin-flow-components/pulls/$PR/files \
modified=`curl -s https://api.github.com/repos/vaadin/flow-components/pulls/$PR/files \
| jq -r '.[] | .filename' | grep 'vaadin.*parent' | perl -pe 's,^vaadin-(.*)-flow-parent.*,$1,g' | sort -u`
if [ `echo "$modified" | wc -w` -lt 5 ]
then
Expand Down Expand Up @@ -73,7 +73,7 @@ saveFailedTests() {

computeFastBuild() {
[ -z "$PR" ] && return 1
ghUrl="https://api.github.com/repos/vaadin/vaadin-flow-components/pulls/$PR"
ghUrl="https://api.github.com/repos/vaadin/flow-components/pulls/$PR"
prTitle=`curl -s $ghUrl | jq -r .title`
echo "$prTitle" | grep -v '\[skip ci\]' >/dev/null || return 0
prMessages=`curl -s $ghUrl/commits | jq -r '.[] | .commit.message'`
Expand Down
2 changes: 1 addition & 1 deletion scripts/prepareDeploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ versionBase=`getBaseVersion $version`
pomBase=`getBaseVersion $pomVersion`

### Get the master branch version for components
masterPom=`curl -s "https://raw.githubusercontent.com/vaadin/vaadin-flow-components/master/pom.xml"`
masterPom=`curl -s "https://raw.githubusercontent.com/vaadin/flow-components/master/pom.xml"`
masterMajorMinor=`echo "$masterPom" | grep '<version>' | cut -d '>' -f2 |cut -d '<' -f1 | grep "^$base" | head -1 | cut -d '-' -f1`

### Load versions file for this platform release
Expand Down

0 comments on commit ce90032

Please sign in to comment.