Skip to content

Commit

Permalink
fix: publish logging
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobAtchley committed Sep 23, 2024
1 parent 731021a commit 37bda16
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/scripts/pub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,19 @@ PARENT_DIR="$PWD"
ROOT_DIR="."
echo "Removing Dist"
rm -rf "${ROOT_DIR:?}/dist"

COMMIT_MESSAGE="$(git log -1 --pretty=format:"%s")"
echo "Commit Message: $COMMIT_MESSAGE"

RELEASE_TYPE=${1:-$(getBuildType "$COMMIT_MESSAGE")}
echo "Release Type: $RELEASE_TYPE"

DRY_RUN=${DRY_RUN:-"False"}
echo "Dry Run: $DRY_RUN"

AFFECTED=$(node node_modules/.bin/nx affected:libs --plain)
echo "Affected Libraries: $AFFECTED"

if [ "$AFFECTED" != "" ]; then
cd "$PARENT_DIR"
echo "Copy Environment Files"
Expand Down

0 comments on commit 37bda16

Please sign in to comment.