Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support git tags and semver #15

Open
BobbyKostadinov opened this issue Aug 25, 2015 · 1 comment
Open

Support git tags and semver #15

BobbyKostadinov opened this issue Aug 25, 2015 · 1 comment

Comments

@BobbyKostadinov
Copy link
Contributor

I want to propose a new set of tasks to be added:

gulp patch
gulp feature
gulp release

Each of those is bumping the version according to semver standards, updates package.json and commits it. It also adds a relevant git tag.
This uses gulp-bump, gulp-tag-version, gulp-git

I've used this for all my projects that I've used load-common gulp task so if you find this set of tasks useful maybe I could submit a PR for this module?
This approach is useful for Continuous Integration and brings good practice of tagging each release / hot-fix as well as the practice to run automatic tests each time a new version is pushed out

By default, I would run lint, felint, test-cover and nice-package before each patch,feature, release to ensure that no tags / commits are wasted on broken code;

If this is something that might be useful to all that use this tool I would be happy to do a PR

@chmontgomery
Copy link
Member

those seem like useful tasks that won't overly bloat the codebase. Feel free to make a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants