kotlin-spm-plugin icon indicating copy to clipboard operation
kotlin-spm-plugin copied to clipboard

Introduced additional package version strategies

Open kstanikviacbs opened this issue 3 years ago โ€ข 0 comments

๐Ÿš€ Description

Current implementation hardcodes and thus supports only one package versioning strategy - from. Use cases of plugin might require support whole bunch of different versioning strategies described here: https://docs.swift.org/package-manager/PackageDescription/PackageDescription.html

๐Ÿ“„ Motivation and Context

This change attempts to introduce supporting them while still keeping plugin UX friendly.

๐Ÿงช How Has This Been Tested?

I haven't introduced any additional unit tests to cover new logic, instead - performed smoke tests across all new strategies locally. Please do let me know if additional coverage is required.

๐Ÿ“ฆ Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

โœ… Checklist

  • [x] My code follows the code style of this project.
  • [] My change requires a change to the documentation.
  • [x] I have updated the documentation accordingly.

kstanikviacbs avatar Jul 15 '21 09:07 kstanikviacbs