-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement new versioning methodology #5052
Closed
4 of 6 tasks
Labels
type/enhancement
Enhancement issue
Comments
I've set up 2 development environments (7.10 and 7.17) on which I have changed |
6 tasks
This was
linked to
pull requests
Jan 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
We currently use 3 properties in the
package.json
file to handle the versioning of the app. These are:version
: the Wazuh version. Follows themajor.minor.patch
pattern.revision
: used to be the version without dots. Two digits were appended to specify the build number. This was only changed when the version had changed. Example: 4400.code
: unused at the moment. Usually set to the same value as the revision.https:/wazuh/wazuh-kibana-app/blob/130cd255ba7a0f37ffaa4e5c11efefca46edea76/package.json#L3-L5
Instead, we would like to simplify and standardize the versioning method we use, to follow this approach:
version
: untouched. Follows themajor.minor.patch
patternrevision
: represents the build number. It is a number of 2 digits, starting at 00 and increased by one each time a package for the same version is built. This value is reset only when the version changes.stage
: replaces the code property which has no actual use. With this property, we'll represent the stage of development at which the package has been built at:pre-alpha
(development),alpha
,beta
,release-candidate
orstable
(production).commit
: we'll also include the short SHA of the latest commit included in the package (can also be the SHA of the commit used to tag). With this, we'll be able to have a clear reference of what was included in the package.Tasks
code
property is actually unused.code
property withstage
.commit
property.version
,revision
andstage
contain expected values.Related issues
The text was updated successfully, but these errors were encountered: