Validation Failed (HTTP 422) on automatic plugin release

97 views
Skip to first unread message

kuba.bo...@gmail.com

unread,
Aug 23, 2021, 8:47:23 AM8/23/21
to Jenkins Developers
Helo,
 I'm trying to run an autmatic plugin release.

but the release fails:

+ gh api -X PATCH -F draft=false -F name=-rc203.c5e91b42cf67 -F tag_name=-rc203.c5e91b42cf67 /repos/jenkinsci/logstash-plugin/releases/47299131
gh: Validation Failed (HTTP 422)
{"ref":"refs/tags/-rc203.c5e91b42cf67","node_id":"MDM6UmVmNzg2Njg5ODpyZWZzL3RhZ3MvLXJjMjAzLmM1ZTkxYjQyY2Y2Nw==","url":"https://api.github.com/repos/jenkinsci/logstash-plugin/git/refs/tags/-rc203.c5e91b42cf67","object":{"sha":"c5e91b42cf678712997db40abd3a83e21d95e3f6","type":"commit","url":"https://api.github.com/repos/jenkinsci/logstash-plugin/git/commits/c5e91b42cf678712997db40abd3a83e21d95e3f6"}}{"message":"Validation Failed","errors":[{"resource":"Release","code":"custom","field":"tag_name","message":"tag_name is not well-formed"},{"resource":"Release","code":"custom","message":"Tag is not well formed"}],"documentation_url":"https://docs.github.com/rest/reference/repos#update-a-release"}

kuba.bo...@gmail.com

unread,
Aug 23, 2021, 9:08:06 AM8/23/21
to Jenkins Developers
PS. Pasted wrong link above, the plugin changes are here https://github.com/jenkinsci/logstash-plugin/pull/103
Reply all
Reply to author
Forward
0 new messages