Set version for Arch Linux package
GitLab runner is available on Arch Linux through the community/gitlab-runner package. It reports itself as dev
version. We would like to change that but can't figure out how to do it! We have a issue for updating the version downstream.
The current build the package does is in the PKGBUILD but is essentially checking out git+https://gitlab.com/gitlab-org/gitlab-ci-multi-runner.git#tag=v${pkgver}
and running, after somer preparation, the following build:
GOPATH="${srcdir}" go-bindata \
-pkg docker \
-nocompress \
-nomemcopy \
-prefix out/docker/ \
-o executors/docker/bindata.go \
prebuilt-x86_64.tar.xz \
prebuilt-arm.tar.xz
GOPATH="${srcdir}" go build
What do we have to do so that the resulting binary reports the actual version rather than dev
?