OctopusDeploy/create-release-action

Action doesn't respect space ID

YaffleZ opened this issue · 1 comments

Describe the bug
In release 3.2.0, if a space ID has been used, it will throw an error saying

Error: No spaces exist with name 'Spaces-xx'
Error: Error: No spaces exist with name 'Spaces-xx'

However if a space name is passed, it will work fine.

To Reproduce
Pass a spaces id like "spaces-11" to the action, observe error being thrown No space exist with name 'Spaces-11'
Change it to the space name like 'dev team', error is gone.

Expected behavior
Both Space ID and Space Name should be accepted.

We are having the same issue. Our spaces name is 'Spaces-1' and with v3.2.1 it says 'Spaces-1' is not valid. It worked previously with v2. We tried using the name of the space 'default' but that didn't work either. Same error.