auto upgrade caddy version

This issue has been created since 2021-03-30.

I try to build caddy 2.3.0 but xcaddy auto upgraded to v2.4.0-beta.1

xcaddy build v2.3.0
--with github.com/RussellLuo/caddy-ext/ratelimit
--with github.com/abiosoft/caddy-hmac
--with github.com/caddy-dns/cloudflare
--with github.com/caddyserver/jsonc-adapter
--with github.com/casbin/caddy-authz/v2
--with github.com/greenpau/caddy-auth-jwt
--with github.com/greenpau/caddy-auth-portal
--with github.com/kirsch33/realip
--with github.com/sjtug/caddy2-filter
2021/03/30 13:16:16 [INFO] Temporary folder: /tmp/buildenv_2021-03-30-1316.375702467
2021/03/30 13:16:16 [INFO] Writing main module: /tmp/buildenv_2021-03-30-1316.375702467/main.go
2021/03/30 13:16:16 [INFO] Initializing Go module
2021/03/30 13:16:16 [INFO] exec (timeout=10s): /usr/local/bin/go mod init caddy
go: creating new go.mod: module caddy
go: to add module requirements and sums:
go mod tidy
2021/03/30 13:16:16 [INFO] Pinning versions
2021/03/30 13:16:16 [INFO] exec (timeout=0s): /usr/local/bin/go get -d -v github.com/caddyserver/caddy/[email protected]
go get: added github.com/caddyserver/caddy/v2 v2.3.0
2021/03/30 13:16:20 [INFO] exec (timeout=0s): /usr/local/bin/go get -d -v github.com/RussellLuo/caddy-ext/ratelimit
go get: added github.com/RussellLuo/caddy-ext/ratelimit v0.0.0-20210216051744-6266d94e5ad9
2021/03/30 13:16:24 [INFO] exec (timeout=0s): /usr/local/bin/go get -d -v github.com/abiosoft/caddy-hmac
go get: added github.com/abiosoft/caddy-hmac v0.0.0-20200528051232-71b2c4bbf374
2021/03/30 13:16:25 [INFO] exec (timeout=0s): /usr/local/bin/go get -d -v github.com/caddy-dns/cloudflare
go get: added github.com/caddy-dns/cloudflare v0.0.0-20210312233109-9d3a8971aaa8
go get: upgraded github.com/caddyserver/caddy/v2 v2.3.0 => v2.4.0-beta.1
2021/03/30 13:16:26 [INFO] exec (timeout=0s): /usr/local/bin/go get -d -v github.com/caddyserver/jsonc-adapter
go get: added github.com/caddyserver/jsonc-adapter v0.0.0-20200325004025-825ee096306c
2021/03/30 13:16:27 [INFO] exec (timeout=0s): /usr/local/bin/go get -d -v github.com/casbin/caddy-authz/v2
go get: added github.com/casbin/caddy-authz/v2 v2.0.0
2021/03/30 13:16:29 [INFO] exec (timeout=0s): /usr/local/bin/go get -d -v github.com/greenpau/caddy-auth-jwt
go get: added github.com/greenpau/caddy-auth-jwt v1.2.7
2021/03/30 13:16:30 [INFO] exec (timeout=0s): /usr/local/bin/go get -d -v github.com/greenpau/caddy-auth-portal
go get: added github.com/greenpau/caddy-auth-portal v1.4.6
2021/03/30 13:16:32 [INFO] exec (timeout=0s): /usr/local/bin/go get -d -v github.com/kirsch33/realip
go get: added github.com/kirsch33/realip v1.5.2
2021/03/30 13:16:33 [INFO] exec (timeout=0s): /usr/local/bin/go get -d -v github.com/sjtug/caddy2-filter
go get: added github.com/sjtug/caddy2-filter v0.0.0-20210315003910-95ab1651d436
2021/03/30 13:16:34 [INFO] Build environment ready
2021/03/30 13:16:34 [INFO] Building Caddy
2021/03/30 13:16:34 [INFO] exec (timeout=0s): /usr/local/bin/go mod tidy
go: finding module for package github.com/go-redis/redis
go: found github.com/go-redis/redis in github.com/go-redis/redis v6.15.9+incompatible
2021/03/30 13:16:35 [INFO] exec (timeout=0s): /usr/local/bin/go build -o /root/go/bin/caddy -ldflags -w -s -trimpath
2021/03/30 13:16:38 [INFO] Build complete: ./caddy
2021/03/30 13:16:38 [INFO] Cleaning up temporary folder: /tmp/buildenv_2021-03-30-1316.375702467

francislavoie wrote this answer on 2021-03-30

This is a known issue with the CloudFlare plugin. See the discussion in #54. you'll need to specify an older commit of the CloudFlare plugin to properly build with v2.3.0. Sorry.

More Details About Repo
Owner Name caddyserver
Repo Name xcaddy
Full Name caddyserver/xcaddy
Language Go
Created Date 2020-03-21
Updated Date 2022-09-22
Star Count 381
Watcher Count 14
Fork Count 72
Issue Count 3

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
NA as an indicator of negative knowledge 2 2019-10-07 2022-07-17
节点之间上下级关系只能通过 addNode(root, child1,child2....)这个方法来绑定吗? 1 2022-02-17 2022-04-27
可以添加一个将几个结点视作一个结点的方法吗 1 2022-03-29 2022-09-13
请问如何自定义初始化缩放大小,是否开启移动的功能 2 2021-11-08 2022-09-19
Reproduction Problem 1 2022-01-03 2022-07-16
Document kobweb commands in a site 1 2022-02-09 2022-09-28
Failed to parse NetParameter file: yolov3.weights in function 'cv::dnn::dnn4_v20201117::readNetFromDarknet' 1 2021-03-28 2022-09-21
Cooldowns not appearing on FocusFrames 6 2021-06-09 2022-01-09
如何在一条alermanager告警的同时,在prometheusalert的多个自定义模版的渠道通知 1 2021-07-14 2022-09-25
Cannot dump `mysql`.`innodb_index_stats` table ? 2 2022-05-12 2022-09-09
Stop animation conditionally 1 2021-12-19 2022-09-21
Duplication checking by overriding Team & Roles. 2 2022-05-16 2022-09-22
[CascaderSelect]级联选择组件 虚拟滚动,选择中间选项,向下滚动 无法滚动 1 2022-09-08 2022-09-21
offline and online event listeners don't seem to fire when network is disconnected/reconnected 2 2022-06-17 2022-09-21
Are async transformer methods supported? 4 2021-12-29 2022-09-19
BUG - iOS recherche par code postal remonte moins de POIs que "relancer la recherche" + non affichage des pins 0 2021-06-23 2022-09-22
Missing sign-in/sign-up margin on mobile 2 2022-08-04 2022-09-28
Call child constructor using @SuperBuilder 2 2021-09-18 2022-09-23
翻译的时候报错58003 1 2021-11-25 2022-01-16
翻译失败: 未知错误 1 2021-12-17 2022-01-16
Android Studio Bumblebee | 2021.1.1 Patch 2体验 0 2022-04-07 2022-09-18
Create a Jira ticket after creating a release announcement 0 2021-05-12 2022-08-07
Release Droid shouldn't ask for community credentials during validatin 0 2021-05-06 2022-08-23
dynamic content its not render 0 2022-05-31 2022-09-21
hook RunPlayerMove or a similar func to get usercmd values before any other func 4 2022-04-19 2022-09-18
Change "IP" in discord embed to "Server IP" 0 2022-04-19 2022-09-18
disallow banned / kicked clients from rejoining 0 2022-06-01 2022-09-18
Missing counts in ppc_bars_yrep_data() 0 2021-04-12 2022-09-18
transitionConfig removed from createStackNavigator error 7 2021-03-23 2022-09-18
Key Vault Firewall IP ranges - limitations? 4 2022-02-21 2022-08-31
Mongo error -> Uninitialized constant ActiveRecord Did you mean? ActiveModel 1 2021-04-08 2022-09-17
Animations only work when presenting controller, not when pushing controller 2 2018-10-03 2022-06-16
Instructions do not work to recover a galera cluster 2 2022-03-06 2022-09-22
Custom Status Code 0 2021-05-31 2022-01-22
Vulnerabilities with Docker images 1 2022-08-08 2022-08-18
[PrepareForEmission] `shouldSpillWire` creates wires in procedural regions 0 2022-07-17 2022-08-23
Mark some APIs as deprecated, and dispose them in v4.0 0 2021-10-29 2022-07-30
Implement the JSONWebToken with ModelViewset of django rest framework? 0 2018-04-20 2022-09-29
project url change from github.com to github.io 2 2021-04-19 2022-09-18
Filtering `UnionArray` Changes DataType 2 2022-04-20 2022-09-18
a general question about the decoder used in PPLiteSeg (not a bug!) 3 2022-08-01 2022-08-25
Multiple queries for system codegen 0 2020-11-20 2022-09-15
Documentation Google Play Services missing ? 1 2021-02-01 2022-09-18
[NEWS] Wysyłam z Allegro - zmienimy typy pól / Ship with Allegro - we will change the field types 0 2022-08-04 2022-08-19
Using SAVi with SS2.0's continuous simulator ? 15 2022-08-01 2022-09-21
Create Table ERROR: function uuid_generate_v4() does not exist 0 2022-01-06 2022-08-17
timeseries: preserve card width setting in local storage 1 2021-11-19 2022-09-22
ListView 下拉刷新的时候ios不会显示loading状态,因为下拉之后回弹回去了,但触发了刷新事件 0 2021-02-23 2022-09-22
[Alerting] Possible EventTarget memory leak detected 5 2022-02-21 2022-08-19
Package cloudflare-zlib with the Docker image 7 2021-12-01 2022-09-02