chore: bump version to v5

This commit is contained in:
Henrique Dias
2024-07-29 10:10:19 +02:00
parent f708664906
commit d3732322bc
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ builds:
flags: flags:
- '-trimpath' - '-trimpath'
ldflags: ldflags:
- '-X github.com/hacdias/webdav/v4/cmd.version={{.Version}}' - '-X github.com/hacdias/webdav/v5/cmd.version={{.Version}}'
goos: goos:
- darwin - darwin
- linux - linux
+1 -1
View File
@@ -11,7 +11,7 @@ COPY ./go.sum ./
RUN go mod download RUN go mod download
COPY . /webdav/ 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 FROM scratch
+3 -1
View File
@@ -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 # webdav
[![Go Report Card](https://goreportcard.com/badge/github.com/hacdias/webdav?style=flat-square)](https://goreportcard.com/report/hacdias/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: 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 ### Docker
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"strings" "strings"
"syscall" "syscall"
"github.com/hacdias/webdav/v4/lib" "github.com/hacdias/webdav/v5/lib"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"go.uber.org/zap" "go.uber.org/zap"
"go.uber.org/zap/zapcore" "go.uber.org/zap/zapcore"
+1 -3
View File
@@ -1,4 +1,4 @@
module github.com/hacdias/webdav/v4 module github.com/hacdias/webdav/v5
go 1.22 go 1.22
@@ -36,5 +36,3 @@ require (
gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect
) )
retract v4.1.0
+1 -1
View File
@@ -1,7 +1,7 @@
package main package main
import ( import (
"github.com/hacdias/webdav/v4/cmd" "github.com/hacdias/webdav/v5/cmd"
) )
func main() { func main() {