diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..698a2af --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +language: node_js +node_js: + - "node" # latest version +cache: + yarn: true + directories: + - node_modules +script: + - yarn build +deploy: + provider: releases + api_key: $GITHUB_OAUTH_TOKEN + file_glob: true + file: dist/* + skip_cleanup: true + overwrite: true + on: + tags: true \ No newline at end of file diff --git a/package.json b/package.json index c9d3ea4..15c07c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "distill-template", - "version": "1.1.0", + "version": "1.1.1", "description": "Template for creating Distill articles.", "main": "dist/template.js", "scripts": { diff --git a/rollup.config.js b/rollup.config.js index 3ef2d95..ac0a55e 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -13,7 +13,7 @@ export default { { format: 'umd', moduleName: 'dl', - dest: `dist/template.js`, + dest: `dist/template.v1.js`, } ], plugins: [