FWIW, I never get || and && correctly in Bash for the first time :D
Also handle the case then the repository does not contain any version
tags yet by defaulting to "1".
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
Packit needs golang to be installed when we build SRPM, because we need
to vendor code to generate the archive.
Moreover, we need to vendor code to be able to modify SPEC port upstream
clone to include bundled code.
Signed-off-by: Tomáš Hozza <thozza@redhat.com>