Skip to content

Commit

Permalink
ci: publish to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Harjot1Singh committed Jan 15, 2018
1 parent a2b1e05 commit d1763cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
name: Release database on Github
command: |
if [ "${CIRCLE_BRANCH}" == "master" ]; then
# Write npm token to .npmrc
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
git config --global push.default current
chmod +x release.sh
echo "Releasing on Github"
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "shabados-database",
"name": "@shabados/database",
"version": "0.0.0",
"description": "The open gurbani database containing an evolving set of corrections. Used in Shabad OS software.",
"private": true,
"scripts": {
"build": "rm -rf build && mkdir build && knex migrate:latest && knex seed:run",
"generate": "node lib/extract.js",
Expand Down

0 comments on commit d1763cb

Please sign in to comment.