Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 9ac5b25

Browse files
committed
bump vndr v0.1.0 to support versioned import paths
With this change, go packages/modules that use versioned import paths (github.com/foo/bar/v2), but don't use a directory in the repository, can now be supported. For example: ``` github.com/coreos/go-systemd/v22 v22.0.0 ``` will vendor the github.com/coreos/go-systemd repository into `vendor/github.com/coreos/go-systemd/v22`. full diff: LK4D4/vndr@f5ab8fc...v0.1.0 - LK4D4/vndr#83 migrate bitbucket to api 2.0 - fixes LK4D4/vndr#82 https://api.bitbucket.org/1.0/repositories/ww/goautoneg: 410 Gone - LK4D4/vndr#86 Replace sort.Sort with sort.Strings - LK4D4/vndr#87 support `github.com/coreos/go-systemd/v22` Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit d4f05c168d4497944a1427d830bdf9e69fb2f4c7) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 0fa8a0c575fd14a7012cb6619e8820f4d7de1d86 Component: engine
1 parent 21e7bfd commit 9ac5b25

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/bin/sh
22

3-
: ${VNDR_COMMIT:=f5ab8fc5fb64d66b5c6e55a0bcb58b2e92362fa0}
3+
: "${VNDR_COMMIT:=d385c05e4c23b602dd16b3d2a1a6c710919bf02f}" # v0.1.0
44

55
install_vndr() {
66
echo "Install vndr version $VNDR_COMMIT"
77
git clone https://github.com/LK4D4/vndr.git "$GOPATH/src/github.com/LK4D4/vndr"
8-
cd "$GOPATH/src/github.com/LK4D4/vndr"
8+
cd "$GOPATH/src/github.com/LK4D4/vndr" || exit 1
99
git checkout -q "$VNDR_COMMIT"
1010
go build -buildmode=pie -v -o "${PREFIX}/vndr" .
1111
}

0 commit comments

Comments
 (0)