Open douglasduteil opened 10 years ago
100% agree with having a separate dist branch with tags, usable with bower. Changelog + Readme also in the src of course
Does the bump automatically increment the minor version ? Can the user force the version number (say this is a major change) ?
Does the bump automatically increment the minor version ? Can the user force the version number (say this is a major change) ?
Yes it's in the "Bumping system" for me I was thinking about using https://github.com/ikari-pl/gulp-tag-version maybe
@douglasduteil, something like vojtajina/grunt-bump (might worth checking: gulp-bump) would be nice indeed.
BTW, @revolunet tu me parlais de mercredi soir dans ton texto pour bosser sur ngFactory, on avait prévu quelque chose (demain du coup)?!
Need to be forked not ?https://github.com/boennemann/grunt-semantic-release
@douglasduteil nice pick, not sure about the fork, it may be faster to just restart from scratch, there is grunt stuff all over the place. Maybe we should create an issue about changing it to be build-tool agnostic and see if the author is interested.
@mgcrea Agreed. I'm just starting getting how it's works....
My dd-deploy is working with no modification for git commiting, tagging, and pushing.
I'm making a poke to connect is to Travis CI (for release publishing). And it works ! The setting up process is still to clarify and simplify. For now, the only requirement to make it work with TravisCI is by using :
~/.ssh
folder.
Pro : repo specific.
Cons : A hell to setup ( see https://gist.github.com/douglasduteil/5525750#file-travis-secure-key-sh ).https://${GITHUB_TOKEN}@github.com/<user>/<repo>
.
Pro : less to de/encode. Just a Travis env to set.
Cons : global access to all the repo.S'up boys
I gat my stuff working :) check the deployor I made : https://github.com/douglasduteil/node-git-deployor
woot, looks cool :) poke = POC ?
the deploy key is the way to go. looks like we can replace the gem install with this : https://github.com/pwmckenna/node-travis-encrypt ?
Congratz @douglasduteil ! I'll check that this week!
On my side, I've worked on the gulp workflow this weekend and found some really interesting modules to refactor everything: lazypipe + gulp-inject, that enables to reuse any combination of transforms, and reinject this combination during the index.{jade,html} processing, it does really simplify the whole gulp file/process. I'll retrofit this into ngFactory very soon!
:+1:
Deployment system
The component deployment is another independent key feature of the system. I was making a publishing system for angular-ui. In short it was making Travis CI the publisher of all releases based on source tagging. However it's already getting old and have various problems concerning the inner template customization and, recently, the sync of the pushed gh-pages on Github for a deploy key.
So for me the way to go is making more atomic module to play with. Here is my wishlist :
package.json
,bower.json
or*.json
file with aversion
key.package.json
,bower.json
or*.json
file with aversion
key.dist
directory)--- inspred by angular-ui-publisher#publish.js
For me the best result is :
package.json
,bower.json
or*.json
file to expose the version etc...with no devdependencies.--- inspired by ui-ace#bower
What you think guys @mgcrea @revolunet