aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
author65432021-07-04 04:06:10 +0200
committerGitHub2021-07-04 04:06:10 +0200
commitfae07cbc8fece383c88ed7b13474a94133c4accf (patch)
tree65e3279dc5655d22302c9b79c48ecd3d1a06ffcd /contrib
parent65ae46bc20f60534ba2590a106a6c86aaa1ecae0 (diff)
Update Vendor (#16325)
* Add Dependencie Update Script * update gitea.com/lunny/levelqueue * update github.com/PuerkitoBio/goquery * update github.com/alecthomas/chroma * update github.com/blevesearch/bleve/v2 * update github.com/caddyserver/certmagic * update github.com/go-enry/go-enry/v2 * update github.com/go-redis/redis/v8 * update github.com/hashicorp/golang-lru * update github.com/klauspost/compress * update github.com/markbates/goth * update github.com/mholt/archiver/v3 * update github.com/microcosm-cc/bluemonday * update github.com/minio/minio-go/v7 * update github.com/olivere/elastic/v7 * update github.com/xanzy/go-gitlab * update github.com/yuin/goldmark
Diffstat (limited to 'contrib')
-rw-r--r--contrib/update_dependencies.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/update_dependencies.sh b/contrib/update_dependencies.sh
new file mode 100644
index 000000000..f6f26c66c
--- /dev/null
+++ b/contrib/update_dependencies.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+grep 'git' go.mod | grep '\.com' | grep -v indirect | grep -v replace | cut -f 2 | cut -d ' ' -f 1 | while read line; do
+ go get -u "$line"
+ make vendor
+ git add .
+ git commit -S -m "update $line"
+done