Skip to content

Installation instructions are not up-to-date #2664

@henrikac

Description

@henrikac

I was installing go-swagger today and I used the following instructions from goswagger.io

dir=$(mktemp -d)
git clone https://github.com/go-swagger/go-swagger "$dir" 
cd "$dir"
go checkout v0.25.0
go install -ldflags "-X github.com/go-swagger/go-swagger/cmd/swagger/commands.Version=$(git describe --tags) -X github.com/go-swagger/go-swagger/cmd/swagger/commands.Commit=$(git rev-parse HEAD)" ./cmd/swagger

I noticed it says go checkout v0.25.0 instead of git checkout .... This typo has already been fixed in docs/install.md ~8 months ago but for some reason the fix has not reached the website.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions