Not all versions in files get replaced
See original GitHub issueDescription
Not all versions are replaced anymore.
In my project I create an Docker image based on the version tag and replace the version in a docker-compose file. However this version is not replaced since recent changes:
Regex is invalid for detecting versions.
Steps to reproduce
- Create a file e.g. docker-compose.py
- Add version for an image:
image: my-container:v0.11.1
- Bump version using commitizen
Current behavior
Version is not updated in file
Desired behavior
Version is also updated in file
Environment
bump.py:192
- commitizen version: 2.17.0
- python version: 3.8.7
- operating system: Linux
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Version History Lost When Replacing / Overwriting to Teams
Hello, I rely on having version history of documents stored in Sharepoint, but I discovered today with a certain method of “overwriting” or...
Read more >【Fixed 2023】5 Ways to Recover Overwritten Files from ...
Method 1: How to Undo an Overwritten File Replaced from the Previous Versions? · The file has to have previous versions from a...
Read more >Completely replacing a file (not updating) but keeping the ...
When you are uploading a file to SharePoint Document library and select the Replace option, it will not erase all version history and...
Read more >How to Recover Earlier Versions of Files - WIRED
How to Recover Earlier Versions of Files · Right-click on the file or folder you want. · Select Restore previous versions from the...
Read more >How to Recover Overwritten Files on Windows 10
You're working and save over a file, can you get it back? The answer is yes, there are multiple ways to recover overwritten...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @Woile I just ran the CI/CD pipeline based on 2.17.3 however it was not fixed there. Please view my PR to find out what the exact issue is.
Thanks @Peter-Slump !! We have also released version
2.17.3
which in theory should finally fix this, could you check first with that version, if it solves your issue.Thanks 👍🏻