This Visual Studio Code extension provides commands to automatically update the version number in the app.json file of your AL project for Microsoft Dynamics 365 Business Central. It simplifies version management by incrementing the Major, Minor, Build, or Revision version numbers with a single command.
Features
Update Major Version: Increment the major version and reset minor, build, and revision numbers to 0.
Update Minor Version: Increment the minor version and reset build and revision numbers to 0.
Update Build Version: Increment the build version and reset the revision number to 0.
Update Revision Version: Increment the revision version.
These commands can be accessed via the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on macOS).
Requirements
A valid app.json file in the root of your AL project workspace.
Visual Studio Code version 1.100.0 or higher.
Extension Settings
This extension does not add any custom settings.
Commands
The following commands are available:
Notification of Version Changes: Displays a notification showing the OLD version and the NEW version after each update.
AL-BC Version Increment: MAJOR
Command: al-business-central-version-increment.Version_Update_Major
Description: Increments the Major version and resets the Minor, Build, and Revision numbers to 0.
AL-BC Version Increment: Minor
Command: al-business-central-version-increment.Version_Update_Minor
Description: Increments the Minor version and resets the Build and Revision numbers to 0.
AL-BC Version Increment: Build
Command: al-business-central-version-increment.Version_Update_Build
Description: Increments the Build version and resets the Revision number to 0.
AL-BC Version Increment: Revision
Command: al-business-central-version-increment.Version_Update_Revision
Description: Increments the Revision version.
Known Issues
The extension assumes the app.json file exists in the root of the workspace. If the file is missing or the version format is invalid, an error will be thrown.
Release Notes
2.0.1
Initial Release.
2.0.2
Added notifications to display the old and new versions after each update.