mirror of
https://github.com/hacdias/webdav.git
synced 2026-09-26 21:21:54 +08:00
chore: bump version to v5
This commit is contained in:
+1
-1
@@ -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
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
[](https://goreportcard.com/report/hacdias/webdav)
|
[](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
@@ -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,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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user