Skip to content

Instantly share code, notes, and snippets.

@dosaboy
Created June 1, 2016 15:31
Show Gist options
  • Save dosaboy/eebd28220aa5399461307b56e9892740 to your computer and use it in GitHub Desktop.
Save dosaboy/eebd28220aa5399461307b56e9892740 to your computer and use it in GitHub Desktop.
#!/bin/bash -eu
(($# >= 2)) || { echo "USAGE: `basename $0` <pkg_ver> <lp_bug> [<build_id>]"; exit 1; }
pkg_ver=$1
lp_bug=$2
build_id="${3:-0}"
echo ${pkg_ver}+hf${lp_bug}v`date +%Y%m%d`.$build_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment