diff --git a/angular-update b/angular-update deleted file mode 100755 index 60c7363..0000000 --- a/angular-update +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -branchName=$1 -oldVersion=$2 -newVersion=$3 -newMajorMinor=$4 -platform=$5 -repository=$6 - - -echo $ - -if [[ "$branchName" =~ "renovate/angular"* ]]; then - echo "Branch: $branchName; Old version: $oldVersion; New MajorMinorVersion: $newMajorMinor" -fi diff --git a/quarkus-update b/quarkus-update index 8698738..23231cf 100755 --- a/quarkus-update +++ b/quarkus-update @@ -17,3 +17,13 @@ if [[ "$branchName" =~ renovate/.*quarkus.platform.version ]]; then /tmp/renovate/repos/$platform/$repository/mvnw -f /tmp/renovate/repos/$platform/$repository/pom.xml io.quarkus.platform:quarkus-maven-plugin:$newVersion:update fi + +if [[ "$branchName" =~ renovate/angular* ]]; then + echo "Branch: $branchName; Old version: $oldVersion; New MajorMinorVersion: $newMajorMinor" + currentVersion=$oldVersion + npm install + while [ $currentVersion -lt $newVersion ] ; do + currentVersion=`expr $currentVersion + 1` + ng update @angular/core@$currentVersion @angular/cli@$currentVersion --allow-dirty + done +fi diff --git a/renovate-config.js b/renovate-config.js index 3f74b5b..08c101c 100644 --- a/renovate-config.js +++ b/renovate-config.js @@ -2,7 +2,7 @@ module.exports = { gitAuthor: 'Renovate Bot ', platform: 'github', repositories: [ - "Gepardec/renovate-playground" + "Gepardec/renovate-angular-playground" ], prHourlyLimit: 0, postUpgradeTasks: {