Skip to content
This repository has been archived by the owner on Oct 15, 2021. It is now read-only.

Release tasks should commit all changed files #29

Closed
mischah opened this issue Aug 18, 2015 · 1 comment
Closed

Release tasks should commit all changed files #29

mischah opened this issue Aug 18, 2015 · 1 comment

Comments

@mischah
Copy link
Member

mischah commented Aug 18, 2015

So:

bump: {
  options: {
    files: ['package.json', 'bower.json'],
    updateConfigs: ['pkg'],
    commitMessage: 'Release v%VERSION%',
    commitFiles: ['package.json', 'bower.json', 'CHANGELOG.md'],
    tagName: '%VERSION%',
    tagMessage: 'Release v%VERSION%',
    push: false,
  }
}

should be changed into:

bump: {
  options: {
    files: ['package.json', 'bower.json'],
    updateConfigs: ['pkg'],
    commitMessage: 'Release v%VERSION%',
    commitFiles: ['-a'],
    tagName: '%VERSION%',
    tagMessage: 'Release v%VERSION%',
    push: false,
  }
}

In addition it would be useful if new (and untracked) files in the dist directory are added to version control first.

@mischah
Copy link
Member Author

mischah commented Aug 20, 2015

Done in develop branch. Will be closed as soon develop gets merged in master :octocat:

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

No branches or pull requests

1 participant