diff --git a/Makefile b/Makefile index 4594b56..1d4a60a 100644 --- a/Makefile +++ b/Makefile @@ -17,12 +17,12 @@ all: build .PHONY: build build: - GOBIN=$(BINDIR) $(GO) install $(GOFLAGS) -tags '$(TAGS)' -ldflags '$(LDFLAGS)' github.com/Azure/draft-pack-repo/cmd/... + GOBIN=$(BINDIR) $(GO) install $(GOFLAGS) -tags '$(TAGS)' -ldflags '$(LDFLAGS)' github.com/draftcreate/draft-pack-repo/cmd/... .PHONY: build-cross build-cross: LDFLAGS += -extldflags "-static" build-cross: - CGO_ENABLED=0 gox -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -osarch='$(TARGETS)' $(GOFLAGS) -tags '$(TAGS)' -ldflags '$(LDFLAGS)' github.com/Azure/draft-pack-repo/cmd/$(NAME) + CGO_ENABLED=0 gox -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -osarch='$(TARGETS)' $(GOFLAGS) -tags '$(TAGS)' -ldflags '$(LDFLAGS)' github.com/draftcreate/draft-pack-repo/cmd/$(NAME) .PHONY: dist dist: diff --git a/README.md b/README.md index 5166870..668ddf0 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ The Draft pack repository plugin. Fetch the latest version of `draft pack-repo` using ``` -$ draft plugin install https://github.com/Azure/draft-pack-repo +$ draft plugin install https://github.com/draftcreate/draft-pack-repo ``` ## Why a Plugin? diff --git a/cmd/pack-repo/version.go b/cmd/pack-repo/version.go index 7b0d0ec..ff31cbb 100644 --- a/cmd/pack-repo/version.go +++ b/cmd/pack-repo/version.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/cobra" - "github.com/Azure/draft-pack-repo/version" + "github.com/draftcreate/draft-pack-repo/version" ) const versionDesc = ` diff --git a/docs/release-checklist.md b/docs/release-checklist.md index 21777e0..a9117bc 100644 --- a/docs/release-checklist.md +++ b/docs/release-checklist.md @@ -14,7 +14,7 @@ Full steps, in bash: ```bash export VERSION=vX.Y.Z -git clone https://github.com/Azure/draft-pack-repo +git clone https://github.com/draftcreate/draft-pack-repo cd draft-pack-repo git tag $VERSION git push origin $VERSION diff --git a/scripts/get.ps1 b/scripts/get.ps1 index 2079aea..e934e50 100644 --- a/scripts/get.ps1 +++ b/scripts/get.ps1 @@ -1,6 +1,6 @@ $name = "pack-repo" $version = "canary" -$url = "https://github.com/Azure/draft-$name/releases/download/$version/$name-$version-windows-amd64.zip" +$url = "https://github.com/draftcreate/draft-$name/releases/download/$version/$name-$version-windows-amd64.zip" if ($env:TEMP -eq $null) { $env:TEMP = Join-Path $env:SystemDrive 'temp' diff --git a/scripts/get.sh b/scripts/get.sh index d4b6e46..1691f5a 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -23,7 +23,7 @@ # Ripped from github.com/technosophos/helm-template's get-binary.sh script, with a few tweaks to fetch draft-pack-repo. PROJECT_NAME="draft-pack-repo" -PROJECT_GH="Azure/$PROJECT_NAME" +PROJECT_GH="draftcreate/$PROJECT_NAME" : ${DRAFT_PLUGIN_PATH:="$DRAFT_HOME/plugins/draft-pack-repo"} : ${DRAFT_PLUGIN_VERSION:="canary"} diff --git a/versioning.mk b/versioning.mk index b3bef83..8aad9f7 100644 --- a/versioning.mk +++ b/versioning.mk @@ -8,5 +8,5 @@ endif BINARY_VERSION ?= ${GIT_TAG}-${GIT_SHA} -LDFLAGS += -X github.com/Azure/draft-pack-repo/version.Version=${GIT_TAG} -LDFLAGS += -X github.com/Azure/draft-pack-repo/version.GitCommit=${GIT_COMMIT} +LDFLAGS += -X github.com/draftcreate/draft-pack-repo/version.Version=${GIT_TAG} +LDFLAGS += -X github.com/draftcreate/draft-pack-repo/version.GitCommit=${GIT_COMMIT}