Skip to content

Commit d6982fc

Browse files
ci: add debug logging for nightly releases (#2452)
1 parent 98d1729 commit d6982fc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/nigthly-release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,9 @@ jobs:
7070
VERSION="${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}-${PRERELEASE_NAME}-${DATE}-${COMMIT_HASH}"
7171
7272
npx lerna version "$VERSION" --force-publish --no-push --allow-branch 'main' --preid $PRERELEASE_NAME --yes
73-
npx lerna publish from-git --dist-tag $PRERELEASE_NAME --no-changelog --yes
73+
npx lerna publish from-git --dist-tag $PRERELEASE_NAME --no-changelog --yes --loglevel verbose
74+
- name: 'Print Lerna Debug Log'
75+
if: steps.check.outputs.changed == 'true'
76+
run: |
77+
echo "Contents of lerna-debug.log:"
78+
cat lerna-debug.log

0 commit comments

Comments
 (0)