mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-4649] fix publishing of npm libs
This commit is contained in:
7
.github/actions/publish-libs/action.yml
vendored
7
.github/actions/publish-libs/action.yml
vendored
@@ -57,7 +57,8 @@ runs:
|
|||||||
'aca-content'
|
'aca-content'
|
||||||
);
|
);
|
||||||
|
|
||||||
for PROJECT in "${PROJECTS[@]}"; do
|
for PROJECT in ${PROJECTS[@]}
|
||||||
|
do
|
||||||
echo "Update \"$PROJECT\" to version \"$NEW_LIBRARY_VERSION\""
|
echo "Update \"$PROJECT\" to version \"$NEW_LIBRARY_VERSION\""
|
||||||
if [[ "${{ inputs.dry-run }}" != "true" ]]; then
|
if [[ "${{ inputs.dry-run }}" != "true" ]]; then
|
||||||
(cd $PROJECTS_DIR/${PROJECT} && npm version --allow-same-version --no-git-tag-version --force "$NEW_LIBRARY_VERSION")
|
(cd $PROJECTS_DIR/${PROJECT} && npm version --allow-same-version --no-git-tag-version --force "$NEW_LIBRARY_VERSION")
|
||||||
@@ -75,7 +76,7 @@ runs:
|
|||||||
- name: publish tag to GH registry
|
- name: publish tag to GH registry
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
for PROJECT in "${PROJECTS[@]}"
|
for PROJECT in ${PROJECTS[@]}
|
||||||
do
|
do
|
||||||
cd $DIST_DIR/${PROJECT}
|
cd $DIST_DIR/${PROJECT}
|
||||||
|
|
||||||
@@ -100,7 +101,7 @@ runs:
|
|||||||
- name: publish tag to NPM registry
|
- name: publish tag to NPM registry
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
for PROJECT in "${PROJECTS[@]}"
|
for PROJECT in ${PROJECTS[@]}
|
||||||
do
|
do
|
||||||
cd $DIST_DIR/${PROJECT}
|
cd $DIST_DIR/${PROJECT}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user