Skip to content

Commit

Permalink
Merge pull request #12 from version-cli/migrate-org
Browse files Browse the repository at this point in the history
chore: Migrate org
  • Loading branch information
kvanzuijlen authored Feb 4, 2024
2 parents 22a8dc6 + eb0e0df commit 8cde217
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ builds:
- "6"
- "7"
ldflags:
- -s -w -X "github.com/kvanzuijlen/version/cmd.VERSION={{.Version}}"
- -s -w -X "github.com/version-cli/version/cmd.VERSION={{.Version}}"

checksum:
disable: false
Expand Down Expand Up @@ -53,10 +53,10 @@ changelog:

brews:
- repository:
owner: kvanzuijlen
owner: version-cli
name: homebrew-version
name: version
homepage: "https://github.com/kvanzuijlen/version"
homepage: "https://github.com/version-cli/version"
description: "CLI tool to deal with versions"
license: "GNU GPLv3"
skip_upload: auto
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ COPY --from=builder /src/version /bin/version

ARG CREATED
ARG AUTHORS="Koen van Zuijlen <[email protected]>"
ARG URL="https://github.com/kvanzuijlen/version"
ARG DOCUMENTATION="https://github.com/kvanzuijlen/version"
ARG SOURCE="https://github.com/kvanzuijlen/version"
ARG URL="https://github.com/version-cli/version"
ARG DOCUMENTATION="https://github.com/version-cli/version"
ARG SOURCE="https://github.com/version-cli/version"
ARG VERSION
ARG REVISION
ARG VENDOR="kvanzuijlen"
ARG VENDOR="version-cli"
ARG LICENSES="GNU GPLv3"
ARG TITLE="version"
ARG DESCRIPTION="A simple CLI tool to deal with version numbers."
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ GO ?= go
GOLANGCILINT ?= golangci-lint

BINARY := version
REPOSITORY ?= ghcr.io/kvanzuijlen/version
REPOSITORY ?= ghcr.io/version-cli/version

GO_MAJOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f1)
GO_MINOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f2)
Expand All @@ -22,7 +22,7 @@ clean:
build: validate-go-version clean $(BINARY)

$(BINARY):
CGO_ENABLED=0 $(GO) build -a -installsuffix cgo -ldflags="-X github.com/kvanzuijlen/version/cmd.VERSION=${VERSION}" -o $@
CGO_ENABLED=0 $(GO) build -a -installsuffix cgo -ldflags="-X github.com/version-cli/version/cmd.VERSION=${VERSION}" -o $@

DOCKER_BUILD_PLATFORM ?= linux/amd64,linux/arm64,linux/ppc64le,linux/arm/v7
DOCKER_BUILDX_ARGS_LIST ?= \
Expand Down
2 changes: 1 addition & 1 deletion cmd/bump.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package cmd

import (
"fmt"
"github.com/kvanzuijlen/version/pkg/versioning/semver"
"github.com/version-cli/version/pkg/versioning/semver"

"github.com/spf13/cobra"
"go.uber.org/zap"
Expand Down
4 changes: 2 additions & 2 deletions cmd/latest.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ package cmd

import (
"fmt"
"github.com/kvanzuijlen/version/pkg/datasource"
"github.com/kvanzuijlen/version/pkg/versioning/semver"
"github.com/version-cli/version/pkg/datasource"
"github.com/version-cli/version/pkg/versioning/semver"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/kvanzuijlen/version
module github.com/version-cli/version

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright © 2024 Koen van Zuijlen <[email protected]
package main

import (
"github.com/kvanzuijlen/version/cmd"
"github.com/version-cli/version/cmd"
"os"

"go.uber.org/zap"
Expand Down

0 comments on commit 8cde217

Please sign in to comment.