0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2025-01-06 22:40:31 -05:00

1.0 release

This commit is contained in:
Matthew Holt 2019-04-24 11:24:40 -06:00
parent c32a0f5f71
commit 15fecbc161
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5
3 changed files with 14 additions and 8 deletions

View file

@ -81,8 +81,7 @@ To build from source you need **[Git](https://git-scm.com/downloads)** and **[Go
<!-- TODO: This env variable will not be required starting with Go 1.13 -->
1. Set the transitional environment variable for Go modules: `export GO111MODULE=on`
<!-- TODO: The specific version will not be required after the stable 1.0.0 release -->
2. Run `go get github.com/mholt/caddy/caddy@v1.0.0-beta2`
2. Run `go get github.com/mholt/caddy/caddy`
Caddy will be installed to your `$GOPATH/bin` folder.
@ -111,8 +110,9 @@ func main() {
caddymain.Run()
}
```
3. `go mod init mycaddy` (the name doesn't really matter).
4. `go install` will then create your binary at `$GOPATH/bin`, or `go build` will put it in the current directory.
3. `go mod init caddy`
4. Run `go get github.com/mholt/caddy`
5. `go install` will then create your binary at `$GOPATH/bin`, or `go build` will put it in the current directory.
**To install Caddy's source code for development:**
@ -120,7 +120,7 @@ func main() {
1. Set the transitional environment variable for Go modules: `export GO111MODULE=on`
2. Run `git clone https://github.com/mholt/caddy.git` in any folder (doesn't have to be in GOPATH).
You can make changes to the source code in this repo, since it is a Go module.
You can make changes to the source code from that clone and checkout any commit or tag you wish to develop on.
When building from source, telemetry is enabled by default. You can disable it by changing `caddymain.EnableTelemetry = false` in run.go, or use the `-disabled-metrics` flag at runtime to disable only certain metrics.

10
dist/CHANGES.txt vendored
View file

@ -1,12 +1,18 @@
CHANGES
1.0.0beta2 (April 20, 2019)
1.0.0 (April 24, 2019)
- Minor internal/linting improvements
- EULA no longer applies
- Backwards compatibility goal (see project repo)
1.0.0-beta2 (April 20, 2019)
- Continue migration to Go modules
- Eliminate need for special build script
- Internal changes for better compatibility
1.0.0beta1 (April 9, 2019)
1.0.0-beta1 (April 9, 2019)
- Major internal changes (Go modules & remove vendor)
- Rename -env flag to -envfile
- New -env flag to print the environment

2
dist/README.txt vendored
View file

@ -1,4 +1,4 @@
CADDY 1.0.0beta2
CADDY 1.0.0
Website
https://caddyserver.com