OctopusDeploy / create-release-action

| Public | :octocat: GitHub Action to Create a Release in Octopus Deploy

Home Page:https://github.com/marketplace/actions/create-release-in-octopus-deploy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Action doesn't respect space ID

YaffleZ opened this issue · 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.