This file contains hidden or 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
/** | |
* Create an elasticearch instance | |
**/ | |
package main | |
import ( | |
"crypto/tls" | |
"log" | |
"net/http" |
This file contains hidden or 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 | |
n=$1 | |
git for-each-ref --sort=-taggerdate | grep refs/tags/v | cut -d '/' -f 3 | head -$n | tail -1 |