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.
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.
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 withindex out of range
.