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 environment variable replacements in manifest config #2275

Open
atzoum opened this issue Apr 23, 2024 · 0 comments
Open

Support environment variable replacements in manifest config #2275

atzoum opened this issue Apr 23, 2024 · 0 comments
Assignees
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@atzoum
Copy link

atzoum commented Apr 23, 2024

We are currently using the release-please-action v3 where we can set dynamic release-please configuration options using environment variables in the action's configuration.
However, we cannot switch to release please v4 since there is no way for us to achieve the same dynamic configuration through a static release-please-config.json file.

It would be great if we could use any kind of templating mechanism in the json file itself so that we could introduce the dynamic behaviour we want to, e.g.

{
  "release-as": "${{ env.SOME_VALUE || 'default' }}"
}

This could unlock for us a lot of new usage patterns of release please in our repositories :)

@atzoum atzoum added priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants