Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support updating config vars #81

Closed
liddellj opened this issue Apr 17, 2014 · 6 comments
Closed

Support updating config vars #81

liddellj opened this issue Apr 17, 2014 · 6 comments

Comments

@liddellj
Copy link

I have an existing conig var in my Gruntfile:

pkg: grunt.file.readJSON('package.json'),

I'd like to be able to have this var updated after the version is bumped, so that subsequent tasks which refer to pkg see the updated version. grunt-bump supports this with a updateConfigs option:

bump: {
  options: {
    updateConfigs: ['pkg']
  }
}

Currently I'm using this task and grunt-bump to achieve what I need. If grunt-release supported an updateConfigs option I would not need to use grunt-bump.

@tomalec
Copy link

tomalec commented Feb 19, 2015

👍

@ZuBB
Copy link

ZuBB commented Feb 19, 2015

also would like to see this feature implemented (but do not have free time to do that :( )

@dorgan
Copy link
Collaborator

dorgan commented Mar 25, 2015

Just submitted a PR for this fix.

@drublic
Copy link
Collaborator

drublic commented Mar 31, 2015

The PR just landed in master.

@dorgan
Copy link
Collaborator

dorgan commented Apr 8, 2015

When will this be released?

@drublic
Copy link
Collaborator

drublic commented Jun 19, 2015

It's released with v0.13.0 just now.

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

Successfully merging a pull request may close this issue.

5 participants