• Home
  • About 404TS
  • Contact

404 Tech Support

Where IT Help is Found

  • Articles
    • Code
    • Entertainment
    • Going Green
    • Hardware, Gadgets, and Products
    • Management
    • Network
    • News
    • Operating Systems
    • Security and Privacy
    • Software
    • System Administration
    • Talking Points
    • Tech Solutions
    • Web
    • Webmaster
  • Reviews
  • Media
    • Infographics
    • Videos
  • Tech Events
  • Tools
    • How do I find my IP address?
    • Browser and plugin tests
  • Get a Technical Consultation
You are here: Home / Articles / Code / When it comes to version numbers, the most important thing is to pick a system

When it comes to version numbers, the most important thing is to pick a system

2017-05-09 by Jason

If you write enough scripts, eventually you will need to update one to fix a bug or introduce a new feature. How do you keep track of which version of the script is out there? You add a version number to your product. If you look around the web, there are plenty of ideas on how versioning should work. It’s best to consider your environment (version control software) first and then pick a system that works for you. Many of them can feel pretty arbitrary as some count the number of changes implemented and others try to estimate the significance of those changes. It’s not like the next version after 0.9 becomes 1.0 rather than version 0.10. I mean, unless you’re Firefox trying to catch up to Chrome.

Some developers will incorporate the date (like month and year) to designate the version while others will use “point” releases to divide between major and minor releases, down to maintenance releases and builds. The latter is a common system with each decimal indicating Major release, minor release, maintenance release (like a bugfix), and optionally the build number or a number specific to source control. The system I have adopted is a point release system.

A.B.C.D

A = Major change (a complete rewrite or adding a GUI to a script, a change the clearly distinguishes this version)
B = Moderate change (adding or removing a significant feature or functionality)
C = Minor change (a significant bug fix, or adding, removing, or changing a minor feature or functionality)
D = Service change (a small bug fix or insignificant change)

In this system, the biggest change denotes the change in version number. For example, adding a significant feature would change a script from its current version of 1.2.1.0 to 1.3.0.0. The minor bug fix that follows would bring it up to 1.3.0.1

This is a system that works for my scripts as they’re pretty simple but it has room to grow for complexity though it may not satisfy everything that a more formal development needs. The most important thing is to pick a system, document it, and implement it.

You can see a variety of existing schemes on the Wikipedia page for Software Versioning and a lot more thought on the topic from the Semantic Versioning site.

Filed Under: Code Tagged With: scripting

Trending

  • Intel’s new X99 chipset brings new CPUs, motherboards, and DDR4 RAM
    In Hardware, Gadgets, and Products
  • HP JetIntelligence optimizes toner for LaserJet printers
    In Hardware, Gadgets, and Products
  • A Typical Freelance Job
    In Tech Solutions

Latest Media Posts

Find Out Where To Download SNES ROMs

Find Out Where To Download SNES ROMs

Multifunctional Video Conversion Tools – Wondershare Video Converter

Multifunctional Video Conversion Tools – Wondershare Video Converter

  • Popular
  • Latest
  • Today Week Month All
  • How to ‘Unblock’ multiple files at a time with PowerShell How to 'Unblock' multiple files at a time with PowerShell
  • Command line to take ownership and change permissions Command line to take ownership and change permissions
  • Increase IIS Private Memory Limit to improve WSUS availability Increase IIS Private Memory Limit to improve WSUS availability
  • Creating and editing views in phpMyAdmin Creating and editing views in phpMyAdmin
  • Configure Outlook to recurring appointments for the last weekday of the month Configure Outlook to recurring appointments for the last weekday of the month
  • How to Purchase Cryptocurrencies? How to Purchase Cryptocurrencies?
  • Top 6 necessary aspects to consider when hiring Angular developers Top 6 necessary aspects to consider when hiring Angular developers
  • Full guide on drawbacks and benefits of Node.js for making the perfect choice for your business Full guide on drawbacks and benefits of Node.js for making the perfect choice for your business
  • Benefits of End-To-End Testing That Will Match Company Expectations Benefits of End-To-End Testing That Will Match Company Expectations
  • 3 Key Features of Pets Health Monitoring Systems 3 Key Features of Pets Health Monitoring Systems
Ajax spinner

Elevator Pitch

404 Tech Support documents solutions to IT problems, shares worthwhile software and websites, and reviews hardware, consumer electronics, and technology-related books.

Subscribe to 404TS articles by email.

Recent Posts

  • How to Purchase Cryptocurrencies?
  • Top 6 necessary aspects to consider when hiring Angular developers
  • Full guide on drawbacks and benefits of Node.js for making the perfect choice for your business

Search

FTC Disclaimer

404TechSupport is an Amazon.com affiliate; when you click on an Amazon link from 404TS, the site gets a cut of the proceeds from whatever you buy. This site also uses Skimlinks for smart monetization of other affiliate links.
Use of this site requires displaying and viewing ads as they are presented.

Copyright © 2023 · Magazine Pro Theme on Genesis Framework · WordPress · Log in