]> git.ipfire.org Git - thirdparty/dracut.git/commit
github: fetch git tags before testing
authorFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 28 Feb 2020 17:07:12 +0000 (18:07 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 28 Feb 2020 19:39:35 +0000 (20:39 +0100)
commit7261a0540a52b64918da48df68a6efabb56bdd93
treeac64152a4b359f50b0352b2d3dcf8dec53f66ba6
parent11a5501d0f844b9e52f2f1b62d980b733c73f10a
github: fetch git tags before testing

GitHub workflows fetch a clone of the dracut repository which doesn't
contain git tags, thus "breaking" the RPM build in certain situations
i.e.:
DRACUT_MAIN_VERSION in Makefile is defined as an output of `git describe`,
which in full git clone returns a tag with a numeric version. However,
without tags it returns SHA of the last commit, which later propagates into
`Provides:` attribute of the built RPM and can break dependency tree when
installed
fedora-test-github.sh