mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-06-30 18:15:11 +00:00
new update last beta version script
This commit is contained in:
parent
93975e2558
commit
85c2189e0b
@ -53,7 +53,8 @@
|
||||
"testTsconfig": "tsconfig.spec.json",
|
||||
"prefix": "app",
|
||||
"styles": [
|
||||
"styles.scss"
|
||||
"styles.scss",
|
||||
"custom-style.scss"
|
||||
],
|
||||
"stylePreprocessorOptions": {
|
||||
"includePaths": [
|
||||
|
@ -1,9 +1,9 @@
|
||||
@import './app/components/app-layout/app-layout.component.scss';
|
||||
|
||||
@import '~@alfresco/adf-content-services';
|
||||
@import '~@alfresco/adf-process-services';
|
||||
@import '~@alfresco/adf-insights';
|
||||
@import '~@alfresco/adf-core';
|
||||
@import '~@alfresco/adf-content-services/theming';
|
||||
@import '~@alfresco/adf-process-services/theming';
|
||||
@import '~@alfresco/adf-insights/theming';
|
||||
@import '~@alfresco/adf-core/theming';
|
||||
|
||||
@import '~@angular/material/theming';
|
||||
|
||||
|
@ -24,6 +24,7 @@ show_help() {
|
||||
echo "-demoshell execute the change version only in the demo shell "
|
||||
echo "-v or -version version to update"
|
||||
echo "-alpha update last alpha version of js-api and lib automatically"
|
||||
echo "-beta update beta alpha version of js-api and lib automatically"
|
||||
echo "-gnu for gnu"
|
||||
}
|
||||
|
||||
@ -33,7 +34,7 @@ skip_js() {
|
||||
}
|
||||
|
||||
last_alpha_mode() {
|
||||
echo "====== Auto find last version ====="
|
||||
echo "====== Auto find last ALPHA version ====="
|
||||
JS_API=false
|
||||
VERSION=$(npm view @alfresco/adf-core@alpha version)
|
||||
|
||||
@ -44,6 +45,18 @@ last_alpha_mode() {
|
||||
echo "====== version js-api ${DIFFERENT_JS_API} ====="
|
||||
}
|
||||
|
||||
last_beta_mode() {
|
||||
echo "====== Auto find last BETA version ====="
|
||||
JS_API=false
|
||||
VERSION=$(npm view @alfresco/adf-core@beta version)
|
||||
|
||||
echo "====== version lib ${VERSION} ====="
|
||||
|
||||
DIFFERENT_JS_API=$(npm view alfresco-js-api@beta version)
|
||||
|
||||
echo "====== version js-api ${DIFFERENT_JS_API} ====="
|
||||
}
|
||||
|
||||
gnu_mode() {
|
||||
echo "====== GNU MODE ====="
|
||||
GNU=true
|
||||
@ -163,6 +176,7 @@ while [[ $1 == -* ]]; do
|
||||
-vj|versionjsapi) version_js_change $2; shift 2;;
|
||||
-gnu) gnu_mode; shift;;
|
||||
-alpha) last_alpha_mode; shift;;
|
||||
-beta) last_beta_mode; shift;;
|
||||
-demoshell) only_demoshell; shift;;
|
||||
-*) shift;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user