summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-10-09 08:47:38 -0700
committerJesse Duffield <jessedduffield@gmail.com>2022-10-09 08:47:38 -0700
commitc370a5e728116096228da84593a7179631ceed84 (patch)
treef57691d15c887f9c7175df69c0e7060bf905acc9 /scripts
parentdba0edb9987b16738fb4b1c07e681388a84ce52d (diff)
add bump lazycore script
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bump_lazycore.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/bump_lazycore.sh b/scripts/bump_lazycore.sh
new file mode 100755
index 000000000..810e5f08e
--- /dev/null
+++ b/scripts/bump_lazycore.sh
@@ -0,0 +1,5 @@
+# Go's proxy servers are not very up-to-date so that's why we use `GOPROXY=direct`
+# We specify the `awesome` branch to avoid the default behaviour of looking for a semver tag.
+GOPROXY=direct go get -u github.com/jesseduffield/lazycore@master && go mod vendor && go mod tidy
+
+# Note to self if you ever want to fork a repo be sure to use this same approach: it's important to use the branch name (e.g. master)