question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

version_variable not picked up

See original GitHub issue

Hey,

I have setup semantic-release in one project and it was fairly straightforward: https://github.com/blockchain-certificates/cert-issuer/blob/master/setup.cfg

Now I am trying to set it up in another project https://github.com/blockchain-certificates/cert-schema/pull/46 with basically the same configuration. However, when running the CI, I am getting the following:

$ semantic-release publish --noop --verbosity=DEBUG

debug: get_current_version_by_config_file()

error: must specify either 'version_variable', 'version_pattern' or 'version_toml'

But as you can see in the PR, I have set up about the same thing (I tried changing the source file to another but got the same issue), and in the other project it does not fail.

I am not sure how to debug further at this point, is there something obvious I have missed?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lemoustachistecommented, Sep 14, 2022

That was it, it’s always the obvious that does not jump to the eye.

Thanks for the support and I really appreciate the time you spent figuring it out.

0reactions
bernardcooke53commented, Sep 14, 2022

Glad I could help 🙂

Read more comments on GitHub >

github_iconTop Results From Across the Web

Environment variable not updating with current value
Solved: Hi, Within an unmanaged solution I'm trying to update my environment variable from its default to its current value but it does...
Read more >
BROWSER Environment Variable Not Picked Up #9531 - GitHub
Hey guys, I have a bit of a problem with environment variables being picked up from .env files. Bug Description When I add...
Read more >
Environment variables might not be picked up by the IDE
Steps to reproduce: set an environment variable like: GOOS=linux while on Windows 10; restart the computer; start the IDE; run tests; observe them...
Read more >
Environment variable not being picked up by Node/Express ...
I am trying to setup SendGrid with my Vue/Nuxt app, however I can only get it to to work by hardcoding the API...
Read more >
Environment variables not being picked when deploying using ...
After my staging enviroment is deployed...I go to Repository > Tags. I create a tag...say v1.2.3. The job ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found