This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
bumpUtils.txt
17 lines (16 loc) · 1.67 KB
/
bumpUtils.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Utils class for the bump automation pipelines
* `areChangesToBePushed` -> if there any changes in the existing location to be pushed.
* `createBranch` -> create a branch given the prefix and suffix arguments. Branch contains the current timestamp.
* `isVersionAvailable` -> if the given elastic stack version is available.
* `parseArguments` -> parse the given arguments.
* `prepareContext` -> prepare the git context, checkout and git config user.name.
* `getEdgeReleaseFor8` -> retrieve the EDGE minor version for the 8 major version of the Elastic Stack.
* `getCurrentMinorReleaseFor8` -> retrieve the LATEST known minor release for the 8 major version of the Elastic Stack.
* `getCurrentMinorReleaseFor7` -> retrieve the LATEST known minor release for the 7 major version of the Elastic Stack.
* `getCurrentMinorReleaseFor6` -> retrieve the LATEST known minor release for the 6 major version of the Elastic Stack.
* `getNextMinorReleaseFor8` -> retrieve the NEXT minor release for the 8 major version of the Elastic Stack. It might not be public available yet.
* `getNextPatchReleaseFor8` -> retrieve the NEXT patch release for the 8 major version of the Elastic Stack. It might not be public available yet.
* `getNextMinorReleaseFor7` -> retrieve the NEXT minor release for the 7 major version of the Elastic Stack. It might not be public available yet.
* `getNextPatchReleaseFor7` -> retrieve the NEXT patch release for the 7 major version of the Elastic Stack. It might not be public available yet.
* `getMajorMinor` -> retrieve the given version in Major.Minor format, f.e: given `7.16.2` it returns `7.16`.
* `getMajor` -> retrieve the given version in Major format, f.e: given `7.16.2` it returns `7`.