CI 8
This commit is contained in:
parent
8b388abe31
commit
03e537d121
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
build
|
||||
*.deb
|
||||
MyxCMake/MyxCMakeConfigVersion.cmake
|
||||
|
||||
|
@ -6,9 +6,7 @@ include:
|
||||
smolensk15-nightly:
|
||||
script:
|
||||
- ./build_deb.sh
|
||||
- mkdir build
|
||||
- ls -la
|
||||
- ls -la ..
|
||||
- mv ../*.deb build
|
||||
- ls -la build
|
||||
extends: .scheduled-smolensk15
|
||||
|
||||
|
@ -3,16 +3,19 @@
|
||||
set -e
|
||||
|
||||
V=$(grep -i "project.*VERSION.*LANGUAGES" CMakeLists.txt | sed 's/.*VERSION \([0-9.]*\) .*/\1/')
|
||||
D=$(mktemp -d "/tmp/myx-cmake.XXXXXX")
|
||||
D=build
|
||||
|
||||
mkdir -p "$D/myx-cmake-$V"
|
||||
cp -ap CMakeLists.txt MyxCMake "$D/myx-cmake-$V"
|
||||
pushd "$D"
|
||||
tar Jcf "myx-cmake_${V}.orig.tar.xz" "myx-cmake-$V"
|
||||
popd
|
||||
|
||||
cp -ap debian "$D/myx-cmake-$V"
|
||||
pushd "$D/myx-cmake-$V"
|
||||
dch -D unstable -v "${V}-1" -m "New version."
|
||||
dpkg-buildpackage -us -uc
|
||||
popd
|
||||
cp -f ${D}/myx*deb .
|
||||
|
||||
rm -rf "$D/myx-cmake-$V"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user