CircleCI-Public / aws-s3-orb

Integrate Amazon AWS S3 with your CircleCI CI/CD pipeline easily with the aws-s3 orb.
https://circleci.com/orbs/registry/orb/circleci/aws-s3
MIT License
10 stars 20 forks source link

[semver:minor] Remove overwrite parameter #11

Closed gmemstr closed 3 years ago

gmemstr commented 3 years ago

See #7

tobypinder commented 3 years ago

Semver - minor for an API incompatible change?

masone commented 3 years ago

For reference, here's the error one gets who still passes the argument

#!/bin/sh -eo pipefail
# Error calling workflow: 'ads_prod'
# Error calling job: 'store_homepage_ads_prod'
# Error calling command: 'aws-s3/sync'
# Unexpected argument(s): overwrite

It might be worth pointing out the upgrade path in the changelog. something along:

gmemstr commented 3 years ago

@tobypinder Generally speaking, we change major semver when something is a major breakage or behaviour change. This is a relatively small change, so we opted for a minor - this allows users using 1.0.x versions to ignore the change. We typically recommend versioning orbs in configurations to the nearest patch version, or minor if patch is determined to be too granular.

masone commented 3 years ago

Thanks for your comment @gmemstr - this was a breaking change for anyone using this option. circle fails validating the configuration of the orb before even running the task

gmemstr commented 3 years ago

@masone Yup, understood - that's on me, and I apologize for the oversight. There are two options here - either we keep it the same, with no remediation, or we roll a new minor or patch version to revert this change, and push the change out again as a major change. If we opt for the second option, there may be some additional changes for the major version.