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

Make 'nf-core bump-version' leave indents alone #2513

Closed
pinin4fjords opened this issue Nov 13, 2023 · 2 comments
Closed

Make 'nf-core bump-version' leave indents alone #2513

pinin4fjords opened this issue Nov 13, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@pinin4fjords
Copy link
Member

pinin4fjords commented Nov 13, 2023

Description of the bug

I see a lot of comments like https://github.com/nf-core/mag/pull/541/files#r1390783670, and consistently forget to fix my own indents after a version bump.

Basically what we'd want to happen is:

...
    nextflowVersion = '!>=23.04.0'
    version         = '2.5.0'
...

... going to something like:

...
    nextflowVersion = '!>=23.04.0'
    version         = 2.5.1'
...

... but what we actually get is:

...
    nextflowVersion = '!>=23.04.0'
    version = '2.5.1'
...

It would be good to have that command leave the indent alone and just bump the value.

Command used and terminal output

$ nf-core bump-version

System information

No response

@pinin4fjords pinin4fjords added the bug Something isn't working label Nov 13, 2023
@maxulysse
Copy link
Member

duplicate of #2499

@maxulysse
Copy link
Member

and duplicate of #2206

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants