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.

`--dry-run` not parsed the same as `-n`

See original GitHub issue

If I use -n the argument is parsed as a part (version 0.5.3).

.bumpversion.cfg:

[bumpversion]
current_version = 0.1.0
files = setup.py
commit = False
tag = False
tag_name = csf-google-{new_version}
parse = (?P<major>\d+)
        \.(?P<minor>\d+)
        \.(?P<patch>\d+)
        ((?P<release>[a-z]+)(?P<dev>\d+))?
serialize =
        {major}.{minor}.{patch}{release}{dev}
        {major}.{minor}.{patch}

[bumpversion:part:release]
optional_value = placeholder
first_value = dev
values =
        dev
        placeholder

Issue Analytics

  • State:open
  • Created 8 years ago
  • Reactions:6
  • Comments:9

github_iconTop GitHub Comments

1reaction
gasparkacommented, Dec 18, 2017

Also lost some time because of this, looks like abandonware 😦

1reaction
michaelayecommented, Nov 8, 2016

bump (the irony! 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

bash getopts, why is my script not parsing additional input ...
I'm trying to create a bash script which reads a set of optional input parsing parameters. I tried to follow this example on...
Read more >
rsync: --dry-run? The wrong option to use? - Super User
I am now currently working my way through moving data from a random array of hard disks to the storage pool on the...
Read more >
Add some dry run option to script - Unix & Linux Stack Exchange
Now, $dry_run will be true if the user invoked the script with the -n command line option. Then, choose how to do the...
Read more >
Issue a query dry run | BigQuery - Google Cloud
Describes the use of a query dry run and shows how to perform a dry run using the Cloud console, bq command-line, and...
Read more >
check option does not work · Issue #81 · dotnet/format - GitHub
Create a new project dotnet new console -n Test... ... Just tried the same steps as above with dotnet format -- dry-run --check....
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