Skip to content

Commit

Permalink
Merge branch 'ci/create-tag' into 'master'
Browse files Browse the repository at this point in the history
CI / Add stage for tag release

See merge request rabix/cwl-ts!7
  • Loading branch information
Milos Danilov committed Oct 10, 2022
2 parents 326b0bd + b19c72d commit 5da6d01
Show file tree
Hide file tree
Showing 3 changed files with 1,568 additions and 31 deletions.
13 changes: 13 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ stages:
- build
- test
- publish
- tag


#===========================================================
Expand Down Expand Up @@ -85,3 +86,15 @@ internal-publish:
script:
- npm config set registry $NEXUS3_NPM_REGISTRY
- infinity npm publish dist/

release-tag:
stage: tag
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
dependencies:
- build
- test
script:
- *install_deps
- npm run release:tag
- infinity git push --include-tags
Loading

0 comments on commit 5da6d01

Please sign in to comment.