Commit 6d6c7e27 authored by Jan Möbius's avatar Jan Möbius

Added OpenFlipper source gitlab build

parent fc465d37
Pipeline #8973 failed
......@@ -472,6 +472,19 @@ Doc-publish:
- build-release/Doxygen-warning.log
- build-release/Doxygen-error.log
Sources:
stage: deploy
only:
- master
script: "CI/ci-source.sh"
tags:
- Linux
- stretch
artifacts:
paths:
- OpenFlipper*.zip
- OpenFlipper*.tar.bz2
- OpenFlipper*.tar.gz
# This script just creates compressed files of OpenFlipper sources
# Create Build directory and Build documentation
mkdir build-doc
cd build-doc
cmake ..
make doc
cd ..
# Extract Version Information
VERSION=OpenFlipper-$(cat OpenFlipper/VERSION | grep VERSION | tr -d "VERSION=")
# Create Publishing directory
mkdir $VERSION
# Move all files into Publishing directory
mv OpenFlipper $VERSION/
mv Plugin-* $VERSION/
mv PluginCollection* $VERSION/
mv Type* $VERSION/
mv CMakeLists.txt $VERSION/
mv COPYING $VERSION/
mv Readme.md $VERSION/
cd $VERSION
find . -name "*git*" | xargs rm -rf
cd ..
mkdir $VERSION/Documentation
mv build-doc/Build/share/OpenFlipper/Doc/DeveloperHTML/ $VERSION/Documentation/DeveloperHTML
mv build-doc/Build/share/OpenFlipper/Doc/UserHTML/ $VERSION/Documentation/UserHTML
tar cjf $VERSION.tar.bz2 $VERSION
tar czf $VERSION.tar.gz $VERSION
zip -9 -q -r $VERSION.zip $VERSION
Subproject commit 0e6dea6741ce18983e341845d881377153516427
Subproject commit 4b03f6ae3887113fc76d14dcd845f9e4ba22b8b9
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