Skip to content

### Describe the bug #4

@Righcfd

Description

@Righcfd

Describe the bug

This command in my workflow always sets it to latest

gh release create ${{ steps.release_info.outputs.tag_name }} --target main --generate-notes --latest=false

Affected version

gh version 2.69.0 (2025-03-19)

Logs

Run GH_DEBUG=api gh release create v4.1.6 --target main --generate-notes --latest=false

  GH_DEBUG=api gh release create v4.1.6 --target main --generate-notes --latest=false
  shell: /usr/bin/bash -e {0}
  env:
    CARGO_TERM_COLOR: always
    RUNS_ON_AGENT_ARCH: x64
    RUNS_ON_RUNNER_NAME: runs-on--i-04d716a7f6d03f3bf--MbUsQWTOUe
    RUNS_ON_AGENT_USER: runner
    RUNS_ON_S3_BUCKET_CACHE: runs-on-s3bucketcache-ytsrarcjmczn
    RUNS_ON_AWS_REGION: us-east-1
    RUNS_ON_AMI_NAME: runs-on-v[2](https://github.com/succinctlabs/sp1/actions/runs/14140795957/job/39621703743#step:6:2).2-ubuntu22-full-x64-20250320102012
    RUNS_ON_INSTANCE_TYPE: c7i-flex.2xlarge
    RUNS_ON_INSTANCE_ID: i-04d716a7f6d0[3](https://github.com/succinctlabs/sp1/actions/runs/14140795957/job/39621703743#step:6:3)f3bf
    RUNS_ON_INSTANCE_LIFECYCLE: spot
    ACTIONS_RUNNER_HOOK_JOB_STARTED: /opt/runs-on/pre.sh
    ACTIONS_RUNNER_HOOK_JOB_COMPLETED: /opt/runs-on/post.sh
    pythonLocation: /home/runner/_work/_tool/Python/3.10.16/x6[4](https://github.com/succinctlabs/sp1/actions/runs/14140795957/job/39621703743#step:6:4)
    PKG_CONFIG_PATH: /home/runner/_work/_tool/Python/3.10.16/x64/lib/pkgconfig
    Python_ROOT_DIR: /home/runner/_work/_tool/Python/3.10.16/x64
    Python2_ROOT_DIR: /home/runner/_work/_tool/Python/3.10.16/x64
    Python3_ROOT_DIR: /home/runner/_work/_tool/Python/3.10.16/x64
    LD_LIBRARY_PATH: /home/runner/_work/_tool/Python/3.10.16/x64/lib
    GH_TOKEN: ***
[git remote -v]
[git config --get-regexp ^remote\..*\.gh-resolved$]
[git tag --list v4.1.6 --format=%(contents)]
[git tag --list v4.1.6 --format=%(contents:signature)]
* Request at 202[5](https://github.com/succinctlabs/sp1/actions/runs/14140795957/job/39621703743#step:6:5)-03-29 01:31:19.966482717 +0000 UTC m=+0.358083281
* Request to https://api.github.com/repos/succinctlabs/sp1/releases
> POST /repos/succinctlabs/sp1/releases HTTP/1.1
> Host: api.github.com
> Accept: application/vnd.github.merge-info-preview+json, application/vnd.github.nebula-preview
> Authorization: token ████████████████████
> Content-Length: 132
> Content-Type: application/json; charset=utf-8
> Time-Zone: Etc/UTC
> User-Agent: GitHub CLI 2.[6](https://github.com/succinctlabs/sp1/actions/runs/14140795957/job/39621703743#step:6:6)9.0

{
  "draft": false,
  "generate_release_notes": true,
  "make_latest": "false",
  "prerelease": false,
  "tag_name": "v4.1.6",
  "target_commitish": "main"
}

< HTTP/2.0 201 Created
https://github.com/succinctlabs/sp1/releases/tag/v4.1.6
< 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
< Cache-Control: private, max-age=60, s-maxage=60
< Content-Length: 25[7](https://github.com/succinctlabs/sp1/actions/runs/14140795957/job/39621703743#step:6:7)9
< Content-Security-Policy: default-src 'none'
< Content-Type: application/json; charset=utf-[8](https://github.com/succinctlabs/sp1/actions/runs/14140795957/job/39621703743#step:6:8)
< Date: Sat, 29 Mar 2025 01:31:20 GMT
< Etag: "0adb4ab1afc2df28be6e[9](https://github.com/succinctlabs/sp1/actions/runs/14140795957/job/39621703743#step:6:9)30b9febc3aca64441bd6f38e54184185b999ae2043c"
< Location: https://api.github.com/repos/succinctlabs/sp1/releases/209[10](https://github.com/succinctlabs/sp1/actions/runs/14140795957/job/39621703743#step:6:10)9986
< Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin
< Server: github.com
< Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
< Vary: Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With
< X-Accepted-Github-Permissions: contents=write; contents=write,workflows=write
< X-Content-Type-Options: nosniff
< X-Frame-Options: deny
< X-Github-Api-Version-Selected: 2022-[11](https://github.com/succinctlabs/sp1/actions/runs/14140795957/job/39621703743#step:6:11)-28
< X-Github-Media-Type: github.v3; param=merge-info-preview.nebula-preview; format=json
< X-Github-Request-Id: B7F0:209894:6FBC6EB:DF9D55B:67E74D67
< X-Ratelimit-Limit: 5000
< X-Ratelimit-Remaining: 4731
< X-Ratelimit-Reset: 1743213627
< X-Ratelimit-Resource: core
< X-Ratelimit-Used: 269
< X-Xss-Protection: 0

{
  "url": "https://api.github.com/repos/succinctlabs/sp1/releases/209109986",
  "assets_url": "https://api.github.com/repos/succinctlabs/sp1/releases/209109986/assets",
  "upload_url": "https://uploads.github.com/repos/succinctlabs/sp1/releases/209109986/assets{?name,label}",
  "html_url": "https://github.com/succinctlabs/sp1/releases/tag/v4.1.6",
  "id": 209109986,
  "author": {
    "login": "github-actions[bot]",
    "id": 41898282,
    "node_id": "MDM6Qm90NDE4OTgyODI=",
    "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/github-actions%5Bbot%5D",
    "html_url": "https://github.com/apps/github-actions",
    "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
    "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
    "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
    "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
    "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
    "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
    "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
    "type": "Bot",
    "user_view_type": "public",
    "site_admin": false
  },
  "node_id": "RE_kwDOK1yaac4MdsPi",
  "tag_name": "v4.1.6",
  "target_commitish": "main",
  "name": "v4.1.6",
  "draft": false,
  "prerelease": false,
  "created_at": "2025-03-28T02:49:27Z",
  "published_at": "2025-03-29T01:31:20Z",
  "assets": [],
  "tarball_url": "https://api.github.com/repos/succinctlabs/sp1/tarball/v4.1.6",
  "zipball_url": "https://api.github.com/repos/succinctlabs/sp1/zipball/v4.1.6",
  "body": "## What's Changed\n* chore: bump to 4.1.5 after bumping bn crate by @jtguibas in https://github.com/succinctlabs/sp1/pull/2168\n* fix(sdk): retry network client creation failures by @mattstam in https://github.com/succinctlabs/sp1/pull/2174\n* chore: don't use deprecated clap attributes by @leruaa in https://github.com/succinctlabs/sp1/pull/2177\n* fix: improve errors for elf decode by @tqn in https://github.com/succinctlabs/sp1/pull/2179\n* chore: bump to version 4.1.6, update p3 to 0.2.2 by @tqn in https://github.com/succinctlabs/sp1/pull/2181\n* chore: release 4.1.6 by @jtguibas in https://github.com/succinctlabs/sp1/pull/2169\n\n\n**Full Changelog**: https://github.com/succinctlabs/sp1/compare/v4.1.4...v4.1.6",
  "mentions_count": 4
}

* Request took 1.0[12](https://github.com/succinctlabs/sp1/actions/runs/14140795957/job/39621703743#step:6:12)931588s

Originally posted by @nhtyy in cli/cli#10695

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions