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