Add deployment

Signed-off-by: Marius David Wieschollek's avatarMarius David Wieschollek <passwords.public@mdns.eu>
parent 9c89158a
Pipeline #4115 passed with stage
in 28 seconds
stages:
- publishing
image: node:13-alpine
Publish Alpha:
stage: publishing
script:
- sed -i -e "s|.BUILD|-alpha.${CI_PIPELINE_ID}|g" ./package.json
- npm publish --tag alpha
environment:
name: Alpha
only:
- master
Publish Beta:
stage: publishing
script:
- sed -i -e "s|.BUILD|-beta.${CI_PIPELINE_ID}|g" ./package.json
- npm publish --tag beta
environment:
name: Beta
only:
- testing
Publish Release:
stage: publishing
script:
- sed -i -e "s|.BUILD||g" ./package.json
- npm publish --tag latest
environment:
name: Stable
only:
- stable
\ No newline at end of file
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
\ No newline at end of file
{
"name": "passwords-client",
"version": "0.1.0",
"version": "1.0.0.BUILD",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "0.1.0",
"version": "1.0.0.BUILD",
"license": "ISC",
"dependencies": {
"eventemitter3": "^4.0.7",
......@@ -49,9 +49,9 @@
"integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8="
},
"node_modules/url-parse": {
"version": "1.4.7",
"resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.4.7.tgz",
"integrity": "sha512-d3uaVyzDB9tQoSXFvuSUNFibTd9zxd2bkVrDRvF5TmvWWQwqE4lgYJ5m+x1DbecWkw+LK4RNl2CU1hHuOKPVlg==",
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.1.tgz",
"integrity": "sha512-HOfCOUJt7iSYzEx/UqgtwKRMC6EU91NFhsCHMv9oM03VJcVo2Qrp8T8kI9D7amFf1cu+/3CEhgb3rF9zL7k85Q==",
"dependencies": {
"querystringify": "^2.1.1",
"requires-port": "^1.0.0"
......@@ -109,9 +109,9 @@
"integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8="
},
"url-parse": {
"version": "1.4.7",
"resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.4.7.tgz",
"integrity": "sha512-d3uaVyzDB9tQoSXFvuSUNFibTd9zxd2bkVrDRvF5TmvWWQwqE4lgYJ5m+x1DbecWkw+LK4RNl2CU1hHuOKPVlg==",
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.1.tgz",
"integrity": "sha512-HOfCOUJt7iSYzEx/UqgtwKRMC6EU91NFhsCHMv9oM03VJcVo2Qrp8T8kI9D7amFf1cu+/3CEhgb3rF9zL7k85Q==",
"requires": {
"querystringify": "^2.1.1",
"requires-port": "^1.0.0"
......
{
"name": "passwords-client",
"version": "0.1.0",
"version": "1.0.0.BUILD",
"description": "JS client library for the Nextcloud Passwords app",
"main": "src/main.js",
"author": "Marius Wieschollek",
"license": "ISC",
"keywords": [
"crypto",
"libsodium",
"passwords",
"api",
"nextcloud"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment