dpb587 / bosh-release-resource

A Concourse resource for working with versions of a BOSH release.
MIT License
3 stars 1 forks source link

Switching from a non dev release to a dev release fails #3

Closed beyhan closed 6 years ago

beyhan commented 6 years ago

If you use the resource without the option dev_release: true it will not create dev releases. Switching to this option afterwards, when the resource already created some versions will cause a failure in here with index out of range.

dpb587 commented 6 years ago

Thanks - I added a safety check to avoid the panic that happens to support switching, too. Still might be some edge cases when trying to switch, so, in general, might be better to use different resource names.