#9 Prepare publish - push on tag
Showing
1 changed file
with
1 additions
and
3 deletions
... | @@ -29,15 +29,13 @@ build: | ... | @@ -29,15 +29,13 @@ build: |
29 | 29 | ||
30 | publish: | 30 | publish: |
31 | stage: publish | 31 | stage: publish |
32 | when: manual | ||
33 | only: | 32 | only: |
34 | - master | 33 | - tags |
35 | environment: | 34 | environment: |
36 | name: npm | 35 | name: npm |
37 | url: https://www.npmjs.com/package/relative-placement-js | 36 | url: https://www.npmjs.com/package/relative-placement-js |
38 | script: | 37 | script: |
39 | - npm install | 38 | - npm install |
40 | - npm version $PUBLISH_VERSION | ||
41 | - npm run build | 39 | - npm run build |
42 | - git push origin --tags | 40 | - git push origin --tags |
43 | - npm publish | 41 | - npm publish |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment