This file contains 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/sh | |
#Get the highest tag number | |
VERSION=$(git describe --abbrev=0 --tags) | |
VERSION=${VERSION:-'0.0.1'} | |
#Get number parts | |
MAJOR="${VERSION%%.*}"; VERSION="${VERSION#*.}" | |
MINOR="${VERSION%%.*}"; VERSION="${VERSION#*.}" | |
PATCH="${VERSION%%.*}"; VERSION="${VERSION#*.}" |
This file contains 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 | |
set -e | |
sudo apt-add-repository ppa:ansible/ansible | |
sudo sh -c 'echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list' | |
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install python -y |
NewerOlder