

This story was originally published on HackerNoon at: https://hackernoon.com/lets-automate-version-number-updates-not-a91q3x7n.
Say you need to update (bump) your software. It’s currently at version 1.2, all the required changes have been merged, and it’s time to publish version 1.3. That’s really easy, right? Change the version in one file, commit, tag, and push. Done!
Check more stories related to futurism at: https://hackernoon.com/c/futurism. You can also check exclusive content about #automation, #development, #developers-workflow, #command-line, #latest-tech-stories, #hackernoon-top-story, #software-development, #software-architecture, and more.
This story was written by: @tanker. Learn more about this writer by checking @tanker's about page, and for more stories, please visit hackernoon.com.
Dimitri Merejkowsky was release manager at Softbank Robotics in 2008. He had to bump qiBuild, a command-line application to ease C++ development, from version 1.0.1 to 1.2. The way bumpversion works is a nice combination of the two approaches I’ve mentioned before: keep the hard-coded version number in as many files as required. Then, when bumping the project from version X to version Y:Iterate over the file list and replace all occurrences of X with Y, including in the configuration file itself.
148 פרקים
This story was originally published on HackerNoon at: https://hackernoon.com/lets-automate-version-number-updates-not-a91q3x7n.
Say you need to update (bump) your software. It’s currently at version 1.2, all the required changes have been merged, and it’s time to publish version 1.3. That’s really easy, right? Change the version in one file, commit, tag, and push. Done!
Check more stories related to futurism at: https://hackernoon.com/c/futurism. You can also check exclusive content about #automation, #development, #developers-workflow, #command-line, #latest-tech-stories, #hackernoon-top-story, #software-development, #software-architecture, and more.
This story was written by: @tanker. Learn more about this writer by checking @tanker's about page, and for more stories, please visit hackernoon.com.
Dimitri Merejkowsky was release manager at Softbank Robotics in 2008. He had to bump qiBuild, a command-line application to ease C++ development, from version 1.0.1 to 1.2. The way bumpversion works is a nice combination of the two approaches I’ve mentioned before: keep the hard-coded version number in as many files as required. Then, when bumping the project from version X to version Y:Iterate over the file list and replace all occurrences of X with Y, including in the configuration file itself.
148 פרקים
Player FM סורק את האינטרנט עבור פודקאסטים באיכות גבוהה בשבילכם כדי שתהנו מהם כרגע. זה יישום הפודקאסט הטוב ביותר והוא עובד על אנדרואיד, iPhone ואינטרנט. הירשמו לסנכרון מנויים במכשירים שונים.