Todos Nuevo

user:thomas gists creados por el usuario

title:mygist gists con el título indicado

description:sync gists with given description

filename:myfile.txt gists que contienen archivos con el nombre indicado

extension:yml gists que contienen archivos con la extensión indicada

language:go gists que contienen archivos con el lenguaje indicado

topic:homelab gists with given topic

all:systemctl search all fields

Registrarse

Iniciar sesión

Todos Nuevo Registrarse Iniciar sesión

All gists matching topic github

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado
anthony's Avatar

anthony / Get latest release from GitHub

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1 week ago
Taken from https://gist.github.com/shakahl/d629dbe9d41f57699dba597929582c9f
curl github shell
1 #!/bin/bash
2 get_latest_release() {
3 curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api
4 grep '"tag_name":' | # Get tag line
5 sed -E 's/.*"([^"]+)".*/\1/' # Pluck JSON value
6 }
Siguiente Anterior

Desarrollado por Opengist ⋅ Load: 68ms⋅

Español
العربية Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 简体中文 繁體中文