1
0
mirror of https://github.com/hacdias/webdav.git synced 2025-04-18 15:44:00 +03:00

chore: bump version to v5

This commit is contained in:
Henrique Dias 2024-07-29 09:09:21 +01:00
parent f708664906
commit d3732322bc
6 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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

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
[![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

View File

@ -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"

4
go.mod
View File

@ -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

View File

@ -1,7 +1,7 @@
package main
import (
"github.com/hacdias/webdav/v4/cmd"
"github.com/hacdias/webdav/v5/cmd"
)
func main() {