-
-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: consolidate version finding across version strategies
Initially there was a single version strategy of 'github' which meant the location was standardised. Then came k8s as a version strategy which took a different approach and so needed a different implementation. Later came Gitlab which required another implementation. This change consolidates the various release finding approaches into a single function, which varied based on attributes held about the release 'platform'. As a demonstration of the benefit of the approach GitLab has been added as a release platform and the GitLab CLI which is hosted on gitlab has been added as a tool - superseding #1122 Signed-off-by: Richard Gee <richard@technologee.co.uk>
- Loading branch information
Showing
3 changed files
with
179 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters