error cuz of how the tag name is passed to the actions/create-release@v1 action. GitHub Actions workflows typically reference the tag as refs/tags/v1.0.0, but the actions/create-release expects just the tag name (e.g., v1.0.0), without the refs/tags/ prefix.
this can be fixed by stripping the refs/tags/ part from the github.ref when creating the release. Here’s how to modify the workflow to handle this correctly.