Skip to content

Commit

Permalink
Moar print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
kj4ezj committed Aug 2, 2024
1 parent 9650e83 commit 7d660f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ ee 'npm pack'
if [[ "$CI" == 'true' ]]; then
echo 'Validating package can be installed...'
ee 'npm install -g kj4ezj-is-*.tgz'
else
printf '\e[1;33mNOTICE: Skipping validation step for local build.\e[0m\n'
fi
# publish
echo 'Publishing...'
Expand All @@ -100,6 +102,7 @@ else
printf '\e[1;32mPublished to npm!\e[0m\n'
fi
# clean up
echo 'Cleaning up.'
ee mv package.json.$UNIX_TIME.bak package.json
popd
echo "Done. - ${BASH_SOURCE[0]}"

0 comments on commit 7d660f3

Please sign in to comment.