Commit 40bd6f59 authored by jlue's avatar jlue
Browse files

Gitlab deployment and release page.

parent 690d49b6
Pipeline #24736141 failed with stages
in 8 minutes and 32 seconds
......@@ -21,6 +21,7 @@ build-distribution:
- mkdir -p /root/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS,RPMS/noarch}
- export RPMDIR=/root/rpmbuild
- ./build-distribution
- cp ./deployment/index.html ./dist
artifacts:
paths:
- dist
......
# The original Comix Cursors sources README
The official ComixCursors releases can be found on gitlab.com:
The official ComixCursors releases are available on gitlab.com:
<https://gitlab.com/limitland/comixcursors>
The latest build artifacts (releases) are available on gitlab pages:
<https://limitland.gitlab.io/comixcursors>
INSTALLATION
------------
......@@ -12,7 +15,7 @@ to build and install.
If you want to use "NOHAIR" cursors, that is no hairline in the text-, vertical-text- and
crosshair-cursors, checkout the NOHAIR branch. We will keep this branch synchronized
with the master.
with the master.
COPYRIGHT
---------
......
......@@ -123,6 +123,7 @@ function package_variant {
else
printf "Directory $rpmdir not found, skipping RPM packaging.\n"
fi
}
package_variant "LH-Opaque" "The opaque left-handed Comix Cursors"
......@@ -130,6 +131,19 @@ package_variant "LH" "The left-handed Comix Cursors"
package_variant "Opaque" "The opaque Comix Cursors"
package_variant "" "The original Comix Cursors"
#
# Finally build a list of distribution files and pass that to the
# deployment index.html.
#
printf "Generating deployment index.html...\n"
templatefile="deployment/index.html.template"
indexfile="deployment/index.html"
sed "s/THEMENAME/${themename_root}/g" "${templatefile}" > "${indexfile}"
FILES=$(find ${distdir} -type f -printf '<p><a href="%f">%f<\\/a> (<code>%TY-%Tm-%Td %TH:%Tm, %k kB<\\/code>)<\\/p>\\n')
sed -i "s/FILELIST/${FILES}/" "${indexfile}"
printf "Cleaning up temporary working area...\n"
rm -r "$workdir"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment