github-release-resource icon indicating copy to clipboard operation
github-release-resource copied to clipboard

Latest version fetching failing

Open tinygrasshopper opened this issue 7 years ago • 3 comments

Hello!

We think we are configuring our concourse pipeline correctly to pick up our latest release, but we are getting an error.

Resource:

- name: bbr-binary-release
  type: github-release
  source:
      owner: cloudfoundry-incubator
      repository: bosh-backup-and-restore

Used in plan as

  - get: bbr-binary-release
    trigger: true

According to the readme:

If the version is not specified, the latest version is chosen using semver semantics.

We want it to fetch the latest (non-draft) release, and our release tags look like they are semver-compatible

But when it runs in concourse, we get the following error

error running command: GET https://api.github.com/repos/cloudfoundry-incubator/bosh-backup-and-restore/releases/0: 404 Not Found []

If we configure a version in the plan it works, so:

  - get: bbr-binary-release
    version: { tag: "v1.1.0" }

works.

cc: @flangewad

tinygrasshopper avatar Oct 06 '17 13:10 tinygrasshopper

I also met that problem too. :(

MinsuLim avatar Oct 27 '17 08:10 MinsuLim

Is this still an issue? Having the id of 0 there looks suspicious.

vito avatar Jan 25 '18 15:01 vito

I am still running into the same problem when on the first release. Related to #66

dsafanyuk avatar Jul 25 '18 13:07 dsafanyuk