This takes "yourvariable" and splits it based on the last character in this case "-" and shows the last field of that split.
${yourvariable##*-}
bash, natively, fieldthis, quot, yourvariable, splits,