Comments (4)
Glad you liked it :D
As for the enhancement you were suggesting, how about just allowing multiple files in one bump call? I think version definitions inside a package shouldn't be that many anyways. What do you say?
Thanks,
from bump.
6ed9938 Adds support for multiple files :)
Let me know if this does the job for you :)
from bump.
I think the idea of replacing just the first occurence is brilliant. Spec files like Ruby gemspecs, JavaScript package.json's, and Python setup.py's will always have many version numbers (dependencies and all) and making bump.py smart enough to handle that isn't worth the hassle.
from bump.
Yeah. I have since changed my mind and will build into my PACKAGE code how to smartly inherit the version from setup.py. That way bumpy remains simple and you don't run the risk of accidently having out of sync version numbers in different files. setup.py is the master and its up to package authors to do the rest.
from bump.
Related Issues (11)
- Shebang HOT 2
- Should terminate when no version definitions are found
- Should terminate when no version definitions are found HOT 1
- Failures should have non-zero exit codes HOT 2
- Refactor HOT 3
- Use its.py
- Feature request: bump to specific version HOT 4
- ValueError: zero length field name in format HOT 2
- ignore XML versions
- Using bump on a file that has non ascii characters, bump fails and erases the whole file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bump.