seriema / angular-apimock

Automatically route your API calls to static JSON files, for hiccup free front–end development.
johansson.jp/angular-apimock
MIT License
65 stars 8 forks source link

Fix 54 npm publish breaks #56

Closed seriema closed 9 years ago

seriema commented 9 years ago

The “npm-publish” task fails because the workspace isn’t clean. The nuget task creates a new .nupkg file which isn’t tracked in git. Adding a “gitadd” task to include it so the publish task can complete successfully.

I haven’t put the .nupkg filepath in a variable because I’m not sure if the “yeoman.version” variable will update and propagate properly.

Fixes #54