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

Comments

Projects
None yet
5 participants
@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

This comment has been minimized.

Show comment
Hide comment
@tomalec

tomalec commented Feb 19, 2015

👍

@ZuBB

This comment has been minimized.

Show comment
Hide comment
@ZuBB

ZuBB Feb 19, 2015

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

ZuBB commented Feb 19, 2015

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

@dorgan

This comment has been minimized.

Show comment
Hide comment
@dorgan

dorgan Mar 25, 2015

Collaborator

Just submitted a PR for this fix.

Collaborator

dorgan commented Mar 25, 2015

Just submitted a PR for this fix.

@drublic drublic closed this in 57909e3 Mar 31, 2015

@drublic

This comment has been minimized.

Show comment
Hide comment
@drublic

drublic Mar 31, 2015

Collaborator

The PR just landed in master.

Collaborator

drublic commented Mar 31, 2015

The PR just landed in master.

@dorgan

This comment has been minimized.

Show comment
Hide comment
@dorgan

dorgan Apr 8, 2015

Collaborator

When will this be released?

Collaborator

dorgan commented Apr 8, 2015

When will this be released?

@drublic

This comment has been minimized.

Show comment
Hide comment
@drublic

drublic Jun 19, 2015

Collaborator

It's released with v0.13.0 just now.

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