We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I run the bump it successfully bumps the version in the package but other items relying on the version get undefined instead of a version number.
Here's my bump config:
// Handle updating the version number bump: { options: { files: ['package.json'], updateConfigs: ['pkg'], commit: false, push: false } },
Here's the code that I'm using to pull the updated pkg item
'string-replace': { version: { files: { 'dist/includes/constants.php': 'includes/constants.php', }, options: { replacements: [{ pattern: /{{ VERSION }}/g, replacement: grunt.config.get('pkg.version') }] } } },
Any idea what's happening here?
The text was updated successfully, but these errors were encountered:
Hi,
try to get pkg.version like this grunt.config('pkg.version')
grunt.config('pkg.version')
Sorry, something went wrong.
I still get undefined afterwards.
Whats your config for setting the pkg version?
No branches or pull requests
When I run the bump it successfully bumps the version in the package but other items relying on the version get undefined instead of a version number.
Here's my bump config:
Here's the code that I'm using to pull the updated pkg item
Any idea what's happening here?
The text was updated successfully, but these errors were encountered: