This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FORMAT: 1A | |
## Data Structures | |
### A | |
### B | |
### C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -u -e -o pipefail | |
go list -u -m -json all \ | |
| jq -r 'if (.Indirect | not) and .Update then "\(.Path)\t\(.Version)\t\(.Update.Version)" else "" end' \ | |
| sed -E 's/v[0-9]\.0\.0-[0-9]+-//g' \ | |
| sed -E 's/golang.org\/x\//github.com\/golang\//g' \ | |
| while read -r NAME A B | |
do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
VERSION="2.3.0" | |
SHA="5e2d679" | |
BUILD="$SHA-slack2" | |
set -e -x | |
DIRNAME="$(cd "$(dirname "$0")" && pwd)" | |
OLDESTPWD="$PWD" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
FILE="nebula-$(uname | tr '[:upper:]' '[:lower:]')-amd64.tar.gz" | |
BINDIR="/usr/local/bin" | |
CURRENT="v$($BINDIR/nebula -version | cut -d' ' -f2)" | |
TEMPDIR="$(mktemp -d)" | |
trap 'rm -rf "$TEMPDIR"' exit |
OlderNewer