• 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

  • Evaluating the Cisco Meraki MX64 firewall
    In Hardware, Gadgets, and Products, Reviews
  • LastPass announces compromise
    In Security and Privacy
  • How to Configure your Adobe Flash Player
    In Security and Privacy, Software

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
  • Increase IIS Private Memory Limit to improve WSUS availability Increase IIS Private Memory Limit to improve WSUS availability
  • SOLVED: “This modification is not allowed because the selection is locked.” SOLVED: "This modification is not allowed because the selection is locked."
  • Configure Outlook to recurring appointments for the last weekday of the month Configure Outlook to recurring appointments for the last weekday of the month
  • Creating and editing views in phpMyAdmin Creating and editing views in phpMyAdmin
  • 3d rendering circuit cloud for cloud computing technology Build and Deploy a Modern Web 3.0 Blockchain App in 2022
  • Telecom Application Development: When to Outsource Telecom Application Development: When to Outsource
  • Printer printing document wirelessly from mobile phone or smartphone wifi connection vector flat cartoon illustration, file air print on fax or ink jet via cellphone bluetooth modern design Why Your Business Needs Online Fax Services In 2022
  • 6 Best Ways to Protect Your Business Account 6 Best Ways to Protect Your Business Account
  • How to download videos from Instagram How to download videos from Instagram
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

  • Build and Deploy a Modern Web 3.0 Blockchain App in 2022
  • Telecom Application Development: When to Outsource
  • Why Your Business Needs Online Fax Services In 2022

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 © 2022 · Magazine Pro Theme on Genesis Framework · WordPress · Log in