Skip to content

Conversation

@kstanikviacbs
Copy link

@kstanikviacbs kstanikviacbs commented Jul 15, 2021

🚀 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)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

✅ Checklist

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

@kstanikviacbs kstanikviacbs force-pushed the feature/additional_package_version_strategies branch from 1a1cfd3 to a33adb6 Compare July 15, 2021 15:02
@kstanikviacbs kstanikviacbs changed the title Introduced additional package version strategies: exact, range and cl… Introduced additional package version strategies Jul 15, 2021
@kstanikviacbs kstanikviacbs force-pushed the feature/additional_package_version_strategies branch from a33adb6 to 2017102 Compare July 15, 2021 15:05
Introduced upToNextMajor, upToNextMinor, branch and revision versioning strategies.
@kstanikviacbs kstanikviacbs force-pushed the feature/additional_package_version_strategies branch from 2017102 to a03f442 Compare July 15, 2021 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant