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

Increment value #45

Closed
prisonerjohn opened this issue Dec 18, 2020 · 4 comments · Fixed by #156
Closed

Increment value #45

prisonerjohn opened this issue Dec 18, 2020 · 4 comments · Fixed by #156
Labels

Comments

@prisonerjohn
Copy link

prisonerjohn commented Dec 18, 2020

Not an issue but more of a question:
Could this be used to increment a value, for example a build number?
Something like

  "from": "__BUILD__ = \"(\d+)\"",
  "to": "__BUILD__ = \"{$1+1}\"",

I'm not sure what the syntax would be...
Thanks!

@jpoehnelt
Copy link
Owner

I believe that should be supported along with many different options available in lodash template. Please report back if you get something like that working!

@jpoehnelt
Copy link
Owner

@prisonerjohn Where you able to achieve what you want here?

@prisonerjohn
Copy link
Author

Hey, I'm a bit of a newbie with all this and did not really understand what you meant :)

I followed the link to see what lodash is, but I'm not clear on how it fits into this plugin or semantic-release. I wanted to do a bit of research before writing back but didn't get around to it yet.

If you're cleaning up issues, you can close this and I can reopen when I get around to it.

@github-actions
Copy link

🎉 This issue has been resolved in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

2 participants