Skip to content

install-protoc fails on protobuf release candidate #122

@na4ma4

Description

@na4ma4
$ .makefiles/pkg/protobuf/v2/bin/install-protoc "$(pwd)/rsca/artifacts/protobuf"
~/grit/github.com/na4ma4/rsca/rsca/artifacts/protobuf ~/grit/github.com/na4ma4/rsca
curl: (56) The requested URL returned error: 404

because the line to check egreps on [0-9]+.[0-9]+

$ curl --head --silent https://github.com/protocolbuffers/protobuf/releases/latest | grep -i '^Location:' | egrep -o '[0-9]+.[0-9]+'
27.0
$ curl --head --silent https://github.com/protocolbuffers/protobuf/releases/latest | grep -i '^Location:'
location: https://github.com/protocolbuffers/protobuf/releases/tag/v27.0-rc1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions