mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-11940 - fix upstream flow - update-project script and upstream trigger (#8125)
* fix conflict * fix conflict * fix conflict * change pipe name * change PR name env variable * update PR title * fix pr condition * fix pr condition * final check
This commit is contained in:
@@ -75,6 +75,7 @@ update_js_dependency() {
|
||||
|
||||
update() {
|
||||
NAME_REPO=$1
|
||||
PKG_VERSION=$(npm view $PKG@$VERSION version)
|
||||
echo "Update dependencies $NAME_REPO"
|
||||
|
||||
git clone https://$TOKEN@github.com/Alfresco/$NAME_REPO.git $TEMP_GENERATOR_DIR
|
||||
@@ -106,7 +107,7 @@ update() {
|
||||
git push --force origin $BRANCH_TO_CREATE
|
||||
fi
|
||||
|
||||
node $BUILD_PIPELINE_DIR/pr-creator.js --token=$TOKEN --title="Update branch for ADF ${PR_NUMBER} and JS-API ${JS_API_INSTALLED} [ci:force]" --head=$BRANCH_TO_CREATE --repo=$NAME_REPO --commit=$COMMIT
|
||||
node $BUILD_PIPELINE_DIR/pr-creator.js --token=$TOKEN --title="Update branch for ADF ${PKG_VERSION} and JS-API ${JS_API_INSTALLED} [ci:force]" --head=$BRANCH_TO_CREATE --repo=$NAME_REPO --commit=$COMMIT
|
||||
|
||||
cd ..
|
||||
rm -rf $TEMP_GENERATOR_DIR
|
||||
|
Reference in New Issue
Block a user