Now that the Autotools-produced RPMs are consolidated into tarballs, someone
looking at a flat list of all the release artifacts could incorrectly conclude
that Graphviz-${GV_VERSION}-Linux.rpm is an alternative complete package to the
tarballs. Renaming this makes it clearer that it originates from the CMake build
system and is incomplete.
Note that this also removes the `os` hierarchy in the packaging directories for
these artifacts. All RPM artifacts are now produced without any
`os`/`debug`/`source` subdirectory.
Related to #2147.
expire_in: 1 week
paths:
- Packages/*/*/*.tar.xz
- - Packages/*/*/*/*.rpm
+ - Packages/*/*/*.rpm
- Metadata/*/*/configure.log
- GRAPHVIZ_VERSION
reports:
if [ "${ID_LIKE:-}" = "debian" ]; then
mv build/*.deb ${DIR}/os/
else
- mv build/*.rpm ${DIR}/os/
+ GV_VERSION=$(python3 gen_version.py)
+ mv build/Graphviz-${GV_VERSION}-Linux.rpm ${DIR}/graphviz-${GV_VERSION}-cmake.rpm
fi
elif [[ "${OSTYPE}" =~ "darwin" ]]; then
mv build/*.zip ${DIR}/os/
unzip ${DIR}/os/Graphviz-${GV_VERSION}-Darwin.zip
cp -rp Graphviz-${GV_VERSION}-Darwin/* /usr/local
else
- rpm --install --force ${DIR}/os/Graphviz-${GV_VERSION}-Linux.rpm
+ rpm --install --force ${DIR}/graphviz-${GV_VERSION}-cmake.rpm
fi
else
if [ "${ID_LIKE}" = "debian" ]; then