Added version setter

This commit is contained in:
Nicolai Ort 2020-12-13 10:02:40 +01:00
parent 7bed59932c
commit 5567bcbf90
2 changed files with 9 additions and 3 deletions

View File

@ -15,6 +15,8 @@ steps:
- cd backend - cd backend
- yarn - yarn
- yarn lib - yarn lib
- cd ..
- npm --no-git-tag-version version ${SOURCE_TAG}
- name: prepare_commit - name: prepare_commit
image: alpine image: alpine
commands: commands:
@ -33,8 +35,12 @@ steps:
from_secret: GITLAB_SSHKEY from_secret: GITLAB_SSHKEY
- name: npm - name: npm
image: plugins/npm image: plugins/npm
depends_on: [ clone ]
settings: settings:
token: token:
from_secret: NPM_TOKEN from_secret: NPM_TOKEN
email: info@odit.services email: info@odit.services
trigger:
event:
exclude:
- push

View File

@ -1,7 +1,7 @@
{ {
"name": "@odit/lfk-client", "name": "@odit/lfk-client",
"description": "A lib to interact with https://git.odit.services/lfk/backend", "description": "A lib to interact with https://git.odit.services/lfk/backend",
"version": "1.1.0", "version": "1.0.0",
"license": "CC-BY-NC-SA-4.0", "license": "CC-BY-NC-SA-4.0",
"main": "./dist/index.ts", "main": "./dist/index.ts",
"scripts": { "scripts": {