dimanche 19 avril 2015

Gulp: update version number in Angular website?


Vote count:

0




I'm using gulp-bump to update the version of my Angular app. The version is written to the package.json file:



{
"name": "WebProject",
"version": "1.0.0",
"dependencies": {
...
},
"devDependencies": {
...
}
}


How can I, inside a gulp task, write this version number to a HTML div inside my index.html file? Maybe it should be done in another way.


I would like the version number on my website to be in sync when building it.



asked 8 secs ago

dhrm

2,718






Gulp: update version number in Angular website?

Aucun commentaire:

Enregistrer un commentaire