batched-semantic-release
Test project showing how to semantically publish multiple commits to NPM from GitLab
Last updated 4 years ago by bahmutov .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install batched-semantic-release 
SYNC missed versions from official npm registry.

batched-semantic-release

Test project showing how to semantically publish multiple commits to NPM from GitLab

Uses semantic-release-gitlab

To publish to NPM use semantic commits and then tag with string that starts with release-.

See .gitlab-ci.yml for actual setup.

Example

This repo has multiple commits at the beginning.

git commit -m "feat(code): test feature 1"
git push origin master
git commit -m "feat(code): test feature 2"
git push origin master
git commit -m "feat(code): test feature 3"
git push origin master

I pushed the commits and the GitLab CI But only the "test" job has executed, not the "deploy" one. Now let us publish this project to NPM by tagging a commit with "release-" string. I prefer using the date

git tag release-2016-08-30

The "deploy" job runs and publishes a version of this package to NPM

npm http 200 https://registry.npmjs.org/batched-semantic-release
+ batched-semantic-release@1.0.0

Now add another commit feat(tag): describe tag example and release it

git tag release-again

Current Tags

  • 1.1.20                                ...           latest (4 years ago)

22 Versions

  • 1.1.20                                ...           4 years ago
  • 1.1.19                                ...           4 years ago
  • 1.1.18                                ...           4 years ago
  • 1.1.17                                ...           4 years ago
  • 1.1.16                                ...           4 years ago
  • 1.1.15                                ...           4 years ago
  • 1.1.14                                ...           4 years ago
  • 1.1.13                                ...           4 years ago
  • 1.1.12                                ...           4 years ago
  • 1.1.11                                ...           4 years ago
  • 1.1.10                                ...           4 years ago
  • 1.1.9                                ...           4 years ago
  • 1.1.8                                ...           4 years ago
  • 1.1.7                                ...           4 years ago
  • 1.1.6                                ...           4 years ago
  • 1.1.5                                ...           4 years ago
  • 1.1.4                                ...           4 years ago
  • 1.1.3                                ...           4 years ago
  • 1.1.2                                ...           4 years ago
  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |