Skip to content

can't run in promotion #33

Description

@fengjiongmax

Hello everyone.

I'm using the gitea-release plugin in my pipeline.

When the steps are not promotion only, the pipeline works fine, the release was created and files uploaded. But when limiting it to run in promotion, I got this error:

msg="The Gitea Release plugin is only available for tags"

To avoid misunderstanding, this is what I've done to get this error.

  1. a tested working pipeline using gitea-release plugin (that the step has no trigger)
  2. add trigger to the step that using gitea-release plugin:
    when:
      event:
      - promote
  1. trigger the build with a tag push(git push origin --tags).
  2. promote the build.

step 1-3 works fine, step 4 got the error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions