diff --git a/.travis.yml b/.travis.yml index bab76717..94c1cf71 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,5 +9,13 @@ node_js: - 14 install: - npm install -script: - - npm run build \ No newline at end of file +before_deploy: + - npm run build +deploy: + provider: npm + email: "$NPM_EMAIL" + api_key : "$NPM_API_TOKEN" + skip_cleanup: true + on: + branch: master + condition: $TRAVS_COMMIT_MESSAGE =~ (v[0-9]\.[0-9]\.[0-9]) \ No newline at end of file diff --git a/package.json b/package.json index 3b5182f6..480554b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xdccjs", - "version": "4.0.3", + "version": "4.0.4", "description": "download files from XDCC bots on IRC, complete implementation of the XDCC protocol", "main": "./dist/index.js", "types": "./dist/index.d.ts",