dune-release icon indicating copy to clipboard operation
dune-release copied to clipboard

dune-release failure

Open zevbo opened this issue 3 years ago • 0 comments

When I run dune-release -vvv on my project, it seems to work just fine until creating the release, when the following happens:

[?] Create release 0.2 on https://github.com/zevbo/RobotState? [Y/n]

[-] Creating release 0.2 on https://github.com/zevbo/RobotState via github's API
dune-release: [DEBUG] [curl] executing request: { meth=POST;
                      url="https://api.github.com/repos/zevbo/RobotState/releases";
                      headers=""; body="" }
dune-release: [DEBUG] [curl] with args: --header
                      Authorization: token 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
                      --location --silent --show-error --config -
                      --dump-header - --data
                      {"tag_name":"v0.2","name":"0.2","body":"CHANGES:\n\n- Initial public release of State Dimension Logic 2.0\n","draft":false}
dune-release: [DEBUG] [curl] response received: {code=307;
                      headers=x-github-request-id: C97C:6CB4:F13AC:23900C:61D74897

x-github-request-id: C97C:6CB4:F13AC:23900C:61D74897

vary: Accept-Encoding, Accept, X-Requested-With

vary: Accept-Encoding, Accept, X-Requested-With

content-security-policy: default-src 'none'

content-security-policy: default-src 'none'

referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin

referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin

x-xss-protection: 0

x-xss-protection: 0

x-content-type-options: nosniff

x-content-type-options: nosniff

x-frame-options: deny

x-frame-options: deny

strict-transport-security: max-age=31536000; includeSubdomains; preload

strict-transport-security: max-age=31536000; includeSubdomains; preload

access-control-allow-origin: *

access-control-allow-origin: *

access-control-expose-headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset

access-control-expose-headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset

x-ratelimit-resource: core

x-ratelimit-resource: core

x-ratelimit-used: 23

x-ratelimit-used: 23

x-ratelimit-reset: 1641499004

x-ratelimit-reset: 1641499004

x-ratelimit-remaining: 4977

x-ratelimit-remaining: 4977

x-ratelimit-limit: 5000

x-ratelimit-limit: 5000

x-github-media-type: github.v3; format=json

x-github-media-type: github.v3; format=json

location: https://api.github.com/repositories/353184886/releases

location: https://api.github.com/repositories/353184886/releases

github-authentication-token-expiration: 2023-01-01 05:00:00 UTC

github-authentication-token-expiration: 2023-01-01 05:00:00 UTC

x-accepted-oauth-scopes: admin:repo_hook, delete_repo, read:repo_hook, repo, repo:status, repo_deployment, security_events, write:repo_hook

x-accepted-oauth-scopes: admin:repo_hook, delete_repo, read:repo_hook, repo, repo:status, repo_deployment, security_events, write:repo_hook

x-oauth-scopes: repo, workflow

x-oauth-scopes: repo, workflow

content-length: 173

content-length: 173

content-type: application/json; charset=utf-8

content-type: application/json; charset=utf-8

date: Thu, 06 Jan 2022 19:52:55 GMT

date: Thu, 06 Jan 2022 19:52:55 GMT

server: GitHub.com

HTTP/2 307 
server: GitHub.com
;
body="
HTTP/2 201 
HTTP/2 201 
server: GitHub.com
server: GitHub.com
date: Thu, 06 Jan 2022 19:52:55 GMT
date: Thu, 06 Jan 2022 19:52:55 GMT
content-type: application/json; charset=utf-8
content-type: application/json; charset=utf-8
content-length: 1902
content-length: 1902
cache-control: private, max-age=60, s-maxage=60
cache-control: private, max-age=60, s-maxage=60
vary: Accept, Authorization, Cookie, X-GitHub-OTP
vary: Accept, Authorization, Cookie, X-GitHub-OTP
etag: "b9bc65f0280dccec04207b4d70920035af54837c661f48132d7f9f1d4fbfeae2"
etag: "b9bc65f0280dccec04207b4d70920035af54837c661f48132d7f9f1d4fbfeae2"
x-oauth-scopes: repo, workflow
x-oauth-scopes: repo, workflow
x-accepted-oauth-scopes: repo
x-accepted-oauth-scopes: repo
github-authentication-token-expiration: 2023-01-01 05:00:00 UTC
github-authentication-token-expiration: 2023-01-01 05:00:00 UTC
location: https://api.github.com/repos/zevbo/StateDimensionLogic/releases/56563133
location: https://api.github.com/repos/zevbo/StateDimensionLogic/releases/56563133
x-github-media-type: github.v3; format=json
x-github-media-type: github.v3; format=json
x-ratelimit-limit: 5000
x-ratelimit-limit: 5000
x-ratelimit-remaining: 4976
x-ratelimit-remaining: 4976
x-ratelimit-reset: 1641499004
x-ratelimit-reset: 1641499004
x-ratelimit-used: 24
x-ratelimit-used: 24
x-ratelimit-resource: core
x-ratelimit-resource: core
access-control-expose-headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset
access-control-expose-headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset
access-control-allow-origin: *
access-control-allow-origin: *
strict-transport-security: max-age=31536000; includeSubdomains; preload
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-frame-options: deny
x-content-type-options: nosniff
x-content-type-options: nosniff
x-xss-protection: 0
x-xss-protection: 0
referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin
referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin
content-security-policy: default-src 'none'
content-security-policy: default-src 'none'
vary: Accept-Encoding, Accept, X-Requested-With
vary: Accept-Encoding, Accept, X-Requested-With
x-github-request-id: C97C:6CB4:F13B0:239016:61D74897
x-github-request-id: C97C:6CB4:F13B0:239016:61D74897


{
  "url": "https://api.github.com/repos/zevbo/StateDimensionLogic/releases/56563133",
  "assets_url": "https://api.github.com/repos/zevbo/StateDimensionLogic/releases/56563133/assets",
  "upload_url": "https://uploads.github.com/repos/zevbo/StateDimensionLogic/releases/56563133/assets{?name,label}",
  "html_url": "https://github.com/zevbo/StateDimensionLogic/releases/tag/v0.2",
  "id": 56563133,
  "author": {
    "login": "zevbo",
    "id": 25518458,
    "node_id": "MDQ6VXNlcjI1NTE4NDU4",
    "avatar_url": "https://avatars.githubusercontent.com/u/25518458?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/zevbo",
    "html_url": "https://github.com/zevbo",
    "followers_url": "https://api.github.com/users/zevbo/followers",
    "following_url": "https://api.github.com/users/zevbo/following{/other_user}",
    "gists_url": "https://api.github.com/users/zevbo/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/zevbo/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/zevbo/subscriptions",
    "organizations_url": "https://api.github.com/users/zevbo/orgs",
    "repos_url": "https://api.github.com/users/zevbo/repos",
    "events_url": "https://api.github.com/users/zevbo/events{/privacy}",
    "received_events_url": "https://api.github.com/users/zevbo/received_events",
    "type": "User",
    "site_admin": false
  },
  "node_id": "RE_kwDOFQ0sds4DXxW9",
  "tag_name": "v0.2",
  "target_commitish": "main",
  "name": "0.2",
  "draft": false,
  "prerelease": false,
  "created_at": "2022-01-06T19:03:35Z",
  "published_at": "2022-01-06T19:52:55Z",
  "assets": [

  ],
  "tarball_url": "https://api.github.com/repos/zevbo/StateDimensionLogic/tarball/v0.2",
  "zipball_url": "https://api.github.com/repos/zevbo/StateDimensionLogic/zipball/v0.2",
  "body": "CHANGES:\n\n- Initial public release of State Dimension Logic 2.0\n"
}
"}
dune-release: [ERROR] Line 2, bytes 0-33:
  Invalid token 'HTTP/2 201 
  HTTP/2 201 
  server:'

Interestingly, despite it erroring out, the release has been created on Github. Any ideas?

zevbo avatar Jan 06 '22 19:01 zevbo