Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to update Release Version #1357

Open
naresaichaitanya opened this issue Aug 28, 2023 · 1 comment
Open

Failing to update Release Version #1357

naresaichaitanya opened this issue Aug 28, 2023 · 1 comment

Comments

@naresaichaitanya
Copy link

Issue Description

I encountered an error while using the Release Drafter plugin within my GitHub Actions workflow. Encountering a validation issue related to creating new releases.

But when I run the git command to get the latest tags, it is giving perfectly.
$ git describe --tags $(git rev-list --tags --max-count=1) v10.0.20

Github Workflow Template

- name: Release Drafter uses: release-drafter/release-drafter@v5.21.1 with: # version: ${{ steps.latest-tag.outputs.latest_tag }} # Use the latest tag version: ${{ steps.latest-tag.outputs.new_version }} publish: true env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

Error Messages

"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
tekviziondev/onPOINT: Found 20 releases
{ name: 'event', id: '6002458618' }
tekviziondev/onPOINT: No draft release found
{ name: 'event', id: '6002458618' }
tekviziondev/onPOINT: Last release: v10.0.18
{ name: 'event', id: '6002458618' }
tekviziondev/onPOINT: Fetching parent commits of refs/heads/fixing-release-tag since 2023-08-24T17:09:02Z
{ name: 'event', id: '6002458618' }
tekviziondev/onPOINT: Creating new release
{ name: 'event', id: '6002458618' }
Error: Validation Failed: {"resource":"Release","code":"already_exists","field":"tag_name"}

@jmauerhan
Copy link

I'm seeing this same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants