mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Use enterprise token and npx to avoid install
This commit is contained in:
@@ -25,7 +25,7 @@ stages:
|
|||||||
- name: Lint & Build Dist
|
- name: Lint & Build Dist
|
||||||
if: type = pull_request
|
if: type = pull_request
|
||||||
- name: Lint & Build Dist & Release
|
- name: Lint & Build Dist & Release
|
||||||
if: type = push OR type = cron AND tag IS blank
|
if: (type = push OR type = cron) AND tag IS blank
|
||||||
- name: Check bundle
|
- name: Check bundle
|
||||||
if: type = push AND tag IS blank
|
if: type = push AND tag IS blank
|
||||||
- name: Unit test
|
- name: Unit test
|
||||||
|
@@ -6,13 +6,11 @@ echo "Update Generator"
|
|||||||
./scripts/travis/update/update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/generator-ng2-alfresco-app'
|
./scripts/travis/update/update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/generator-ng2-alfresco-app'
|
||||||
echo "Update ACA"
|
echo "Update ACA"
|
||||||
./scripts/travis/update/update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/alfresco-content-app'
|
./scripts/travis/update/update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/alfresco-content-app'
|
||||||
echo "Update ADW"
|
|
||||||
./scripts/travis/update/update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/adf-app-manager-ui'
|
|
||||||
echo "Update ADF"
|
echo "Update ADF"
|
||||||
./scripts/travis/update/update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/alfresco-ng2-components'
|
./scripts/travis/update/update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/alfresco-ng2-components'
|
||||||
echo "Update AMA"
|
echo "Update AMA"
|
||||||
./scripts/travis/update/update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/alfresco-modeler-app'
|
./scripts/travis/update/update-project.sh -gnu -t $GITHUB_ENTERPRISE_TOKEN -n 'Alfresco/alfresco-modeler-app'
|
||||||
echo "Update Workspace"
|
echo "Update Workspace"
|
||||||
./scripts/travis/update/update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/alfresco-process-workspace-app'
|
./scripts/travis/update/update-project.sh -gnu -t $GITHUB_ENTERPRISE_TOKEN -n 'Alfresco/alfresco-process-workspace-app'
|
||||||
echo "Update APA Activiti"
|
echo "Update APA Activiti"
|
||||||
./scripts/travis/update/update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/alfresco-admin-app'
|
./scripts/travis/update/update-project.sh -gnu -t $GITHUB_ENTERPRISE_TOKEN -n 'Alfresco/alfresco-admin-app'
|
||||||
|
@@ -48,9 +48,9 @@ BRANCH="ADF-update-beta-$VERSION"
|
|||||||
git checkout -b $BRANCH
|
git checkout -b $BRANCH
|
||||||
|
|
||||||
if $GNU; then
|
if $GNU; then
|
||||||
./node_modules/@alfresco/adf-cli/bin/adf-cli update-version --pathPackage "$(pwd)" --version $VERSION --vjs $JS_VERSION
|
npx adf-cli update-version --pathPackage "$(pwd)" --version $VERSION --vjs $JS_VERSION
|
||||||
else
|
else
|
||||||
./node_modules/@alfresco/adf-cli/bin/adf-cli update-version --pathPackage "$(pwd)" --version $VERSION --vjs $JS_VERSION --skipGnu
|
npx adf-cli update-version --pathPackage "$(pwd)" --version $VERSION --vjs $JS_VERSION --skipGnu
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git add .
|
git add .
|
||||||
|
Reference in New Issue
Block a user