Skip to content

Update manifest files with gulp #1

@ocombe

Description

@ocombe

Thanks for this article ! Sorry, I can't comment on habrahabr.ru (I have a read only account), that's why I post this here.
You could automate the manifest updates, after all they are json files and easily editable in javascript.
Check out how I did it in one of my libs.

When you do "gulp release" it will offer you 3 choices of version update (based on semver tags). For example if your current version is 0.1.2, you will have those choices:

  • patch (0.1.2 --> 0.1.3)
  • minor (0.1.2 --> 0.2.0)
  • major (0.1.2 --> 1.0.0)
  • none (exit)

In my lib I update bower.json & package.json, but it works the same for manifest files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions