Skip to content

Commit

Permalink
Add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Quadflieg committed Nov 15, 2019
1 parent 6048b4e commit 2f27b71
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions release.sh
@@ -0,0 +1,28 @@
#!/usr/bin/env bash
set -x

# Cleanup
rm -Rf coverage
rm -Rf dist
rm -Rf node_modules
rm junit.xml
rm yarn.lock

# Prepare
yarn install
yarn lint
yarn test --silent
yarn audit
yarn build

# Publish
npm publish --dry-run

set +x

echo
echo "If everything looks okay, use 'npm publish --access public'"
echo
echo "Remember to create a tag"
echo "Remember to increase the version number"
echo

0 comments on commit 2f27b71

Please sign in to comment.