#!/bin/bash VERSION=$1 cd /tmp/ git clone https://github.com/gotify/server.git cd server/ git checkout $VERSION