Skip to content

Commit 90049c8

Browse files
committed
ops: update version refs
1 parent e25bec7 commit 90049c8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CONTRIBUTING.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,16 @@ module github.com/greenpau/caddy-security
6767
go 1.21
6868
6969
require (
70-
github.com/greenpau/go-authcrunch v1.1.3
70+
github.com/greenpau/go-authcrunch v1.1.4
7171
)
7272
73-
replace github.com/greenpau/go-authcrunch v1.1.3 => /home/greenpau/dev/go/src/github.com/greenpau/go-authcrunch
73+
replace github.com/greenpau/go-authcrunch v1.1.4 => /home/greenpau/dev/go/src/github.com/greenpau/go-authcrunch
7474
```
7575

7676
Alternatively:
7777

7878
```bash
79-
go mod edit -replace github.com/greenpau/[email protected].3=/home/greenpau/dev/go/src/github.com/greenpau/[email protected]
79+
go mod edit -replace github.com/greenpau/[email protected].4=/home/greenpau/dev/go/src/github.com/greenpau/[email protected]
8080
```
8181

8282
Then, modify `Makefile` such that that replacement passes to `xcaddy` builder:
@@ -85,7 +85,7 @@ Then, modify `Makefile` such that that replacement passes to `xcaddy` builder:
8585
@mkdir -p ../xcaddy-$(PLUGIN_NAME) && cd ../xcaddy-$(PLUGIN_NAME) && \
8686
xcaddy build $(CADDY_VERSION) --output ../$(PLUGIN_NAME)/bin/caddy \
8787
--with github.com/greenpau/caddy-security@$(LATEST_GIT_COMMIT)=$(BUILD_DIR) \
88-
--with github.com/greenpau/[email protected].3=/home/greenpau/dev/go/src/github.com/greenpau/go-authcrunch
88+
--with github.com/greenpau/[email protected].4=/home/greenpau/dev/go/src/github.com/greenpau/go-authcrunch
8989
```
9090

9191
Once all the necessary packages are installed, you should be ready to compile

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ devbuild:
3434
xcaddy build $(CADDY_VERSION) --output ../$(PLUGIN_NAME)/bin/authcrunch \
3535
--with github.com/greenpau/caddy-security@$(LATEST_GIT_COMMIT)=$(BUILD_DIR) \
3636
--with github.com/greenpau/caddy-trace@latest \
37-
--with github.com/greenpau/[email protected].3=/home/greenpau/dev/go/src/github.com/greenpau/go-authcrunch
37+
--with github.com/greenpau/[email protected].4=/home/greenpau/dev/go/src/github.com/greenpau/go-authcrunch
3838
@go build -v -o ./bin/authcrunch cmd/authcrunch/main.go;
3939
@./bin/authcrunch version
4040
@echo "$@: complete"

0 commit comments

Comments
 (0)