From d3732322bc4b8ef52eb5a575c9a315d4f6d9ef20 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Mon, 29 Jul 2024 09:09:21 +0100 Subject: [PATCH] chore: bump version to v5 --- .goreleaser.yml | 2 +- Dockerfile | 2 +- README.md | 4 +++- cmd/root.go | 2 +- go.mod | 4 +--- main.go | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index a2f8e5c..f6fb351 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -11,7 +11,7 @@ builds: flags: - '-trimpath' ldflags: - - '-X github.com/hacdias/webdav/v4/cmd.version={{.Version}}' + - '-X github.com/hacdias/webdav/v5/cmd.version={{.Version}}' goos: - darwin - linux diff --git a/Dockerfile b/Dockerfile index b4bf097..9ff8719 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ COPY ./go.sum ./ RUN go mod download COPY . /webdav/ -RUN go build -o main -ldflags="-X 'github.com/hacdias/webdav/v4/cmd.version=$VERSION'" . +RUN go build -o main -ldflags="-X 'github.com/hacdias/webdav/v5/cmd.version=$VERSION'" . FROM scratch diff --git a/README.md b/README.md index 2a84c77..7586f1c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +> ⚠️ This is the development branch of the next major version (v5), which is not yet released. For the documentation of the latest version, check [v4.3.3](https://github.com/hacdias/webdav/tree/v4.3.3). + # webdav [![Go Report Card](https://goreportcard.com/badge/github.com/hacdias/webdav?style=flat-square)](https://goreportcard.com/report/hacdias/webdav) @@ -11,7 +13,7 @@ A simple and standalone [WebDAV](https://en.wikipedia.org/wiki/WebDAV) server. For a manual install, please refer to the [releases](https://github.com/hacdias/webdav/releases) page and download the correct binary for your system. Alternatively, you can build or install it from source using the Go toolchain. You can either clone the repository and execute `go build`, or directly install it, using: ``` -go install github.com/hacdias/webdav/v4@latest +go install github.com/hacdias/webdav/v5@latest ``` ### Docker diff --git a/cmd/root.go b/cmd/root.go index 8750993..99db4ae 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -10,7 +10,7 @@ import ( "strings" "syscall" - "github.com/hacdias/webdav/v4/lib" + "github.com/hacdias/webdav/v5/lib" "github.com/spf13/cobra" "go.uber.org/zap" "go.uber.org/zap/zapcore" diff --git a/go.mod b/go.mod index 1fdd53d..02b5075 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/hacdias/webdav/v4 +module github.com/hacdias/webdav/v5 go 1.22 @@ -36,5 +36,3 @@ require ( gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) - -retract v4.1.0 diff --git a/main.go b/main.go index a2c430f..5f866d0 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/hacdias/webdav/v4/cmd" + "github.com/hacdias/webdav/v5/cmd" ) func main() {