chore: add circleci

This commit is contained in:
Juan Picado @jotadeveloper
2019-04-04 22:28:23 +02:00
parent 1708e1bcc4
commit f49330cf1a
4 changed files with 185 additions and 3 deletions

10
scripts/publish.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
# Get the last tag from GitHub
lastTag=$(git describe --tags $(git rev-list --tags --max-count=1))
# Print it to the console for verification
echo "Bumping version to new tag: ${lastTag}"
# Publish to NPM
npm publish --registry https://registry.npmjs.org/