Skip to content

Project parameter for create-release job not working #27

@yanmendes

Description

@yanmendes

Bug Report

What Is the Current Behavior?

The parameter project for the create-release job is not working properly.

Steps to Reproduce

I have the following .circleci/config.yml snippet

- sentry-cli/create-release:
          context: sentry-org
          project: CIRCLE_PROJECT_REPONAME

Job output:

$ #!/bin/sh -eo pipefail
VERSION=$(cat sentry-release-version.txt)
sentry-cli releases --org "${SENTRY_ORG}" new \
  --project "${SENTRY_PROJECT}" "${VERSION}"
error: project not found

Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
Please attach the full debug log to all bug reports.

Exited with code exit status 1

What Is the Expected Behavior?

The script above should use the environment variable set as parameter.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions