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
Labels

Comments

@liddellj
Copy link

@liddellj liddellj commented Apr 17, 2014

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.

@drublic drublic added planned enhancement and removed planned labels Jan 5, 2015
@tomalec
Copy link

@tomalec tomalec commented Feb 19, 2015

👍

@ZuBB
Copy link

@ZuBB 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 dorgan commented Mar 25, 2015

Just submitted a PR for this fix.

@drublic drublic closed this in 57909e3 Mar 31, 2015
@drublic
Copy link
Collaborator

@drublic drublic commented Mar 31, 2015

The PR just landed in master.

@dorgan
Copy link
Collaborator

@dorgan dorgan commented Apr 8, 2015

When will this be released?

@drublic
Copy link
Collaborator

@drublic 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
Linked pull requests

Successfully merging a pull request may close this issue.

5 participants
You can’t perform that action at this time.