Data are converted in json for readability, use go maps in hugo html templates
{
"toto": 1,
#!/bin/sh | |
CURL=$(which curl) | |
if [ "$?" = "1" ]; then | |
echo "You need curl to use this script." | |
exit 1 | |
fi | |
VERSION=$(curl -sI https://github.com/manala/manala/releases/latest | grep location | awk -F"/" '{ printf "%s", $NF }' | tr -d '\r') |
#!/bin/bash | |
### | |
# CONFIG VARS | |
### | |
# DO NOT EDIT BELOW UNLESS YOU KNOW WHAT YOU'RE DOING | |
### | |
while read oldrev newrev ref | |
do |
#!/bin/bash | |
# need run as admin | |
if [ -z $HUGO_VERSION ] ;then | |
HUGO_VERSION="latest" | |
API_ENDPOINT="https://api.github.com/repos/gohugoio/hugo/releases/latest" | |
else | |
API_ENDPOINT="https://api.github.com/repos/gohugoio/hugo/releases/tags/v$HUGO_VERSION" | |
fi | |
HUGO_INSTALL_FILE="/tmp/hugo.deb" |
{ | |
"window.zoomLevel": 0, | |
"files.autoSave": "afterDelay", | |
"workbench.editor.enablePreview": false, | |
"editor.fontFamily": "'Fira Code', Monaco, 'Courier New', monospace", | |
"editor.fontLigatures": true, | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"sass.lint.enable": true, | |
"sass.disableUnitCompletion": false, | |
"emmet.showSuggestionsAsSnippets": true, |
According to semantic release
0.0.x
--> maintenance releasemaster
next
next-major
beta
(prerelease: true)alpha
(prerelease: true)The branches on which releases should happen. By default semantic-release will release:
const defaults = { | |
// username: '', | |
grant_type: 'client_credentials', | |
tokenRoute: "oauth/v2/token" | |
} | |
const credentials = { | |
dev: { | |
url: 'http://', | |
client_id: '', |
package main | |
import "fmt" | |
var store []interface{} | |
var c = make(chan interface{}, 2) // 2 threads | |
func asyncAdd(i interface{}) error { | |
go add(c, i) |