Overview
Comment:Mise à jour recette de release pour être sûr de ne déployer que des fichiers qui sont versionnés
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 340662da71f2214899635ba3e9397dc8cc4ba00d
User & Date: bohwaz on 2019-02-04 14:40:46
Other Links: manifest | tags
Context
2019-02-06
15:34
Affichage correct des expirations des cotisations à durée définie check-in: 64f6a74326 user: bohwaz tags: trunk, stable
2019-02-04
14:40
Mise à jour recette de release pour être sûr de ne déployer que des fichiers qui sont versionnés check-in: 340662da71 user: bohwaz tags: trunk
2019-01-28
14:11
Version 0.9.2 check-in: c48cf081fa user: bohwaz tags: trunk, stable, 0.9.2
Changes

Modified src/Makefile from [054872df85] to [295ec538cb].

    16     16   	php -S localhost:8082 -t www www/_route.php
    17     17   
    18     18   test:
    19     19   	find . -name '*.php' -print0 | xargs -0 -n1 php -l > /dev/null
    20     20   
    21     21   release: test
    22     22   	$(eval VERSION=$(shell cat VERSION))
    23         -	fossil ls | grep '^src/' | sed 's/src/garradin-${VERSION}/' > /tmp/garradin-${VERSION}-list.txt
    24         -	#echo "garradin-${VERSION}/include/lib/KD2" >> /tmp/garradin-${VERSION}-list.txt
    25         -	cat include/lib/dependencies.list | sed -r "s/^/garradin-${VERSION}\/include\/lib\//" >> /tmp/garradin-${VERSION}-list.txt
    26         -	rm -f /tmp/garradin-${VERSION}
    27         -	ln -s ${PWD} /tmp/garradin-${VERSION}
    28         -	tar cjvfh garradin-${VERSION}.tar.bz2 -C /tmp -T /tmp/garradin-${VERSION}-list.txt
    29         -	rm -f /tmp/garradin-${VERSION}*
           23  +	rm -rf /tmp/garradin-build
           24  +	mkdir -p /tmp/garradin-build
           25  +	fossil zip ${VERSION} /tmp/garradin-build/src.zip --name garradin
           26  +	unzip -d /tmp/garradin-build /tmp/garradin-build/src.zip
           27  +	cd include/lib; rsync --files-from=dependencies.list -r ./ /tmp/garradin-build/garradin/src/include/lib/
           28  +	mv /tmp/garradin-build/garradin/src /tmp/garradin-build/garradin-${VERSION}
           29  +	@#cd /tmp/garradin-build/; zip -r -9 garradin-${VERSION}.zip garradin-${VERSION};
           30  +	@#mv -f /tmp/garradin-build/garradin-${VERSION}.zip ./
           31  +	tar cjvfh garradin-${VERSION}.tar.bz2 -C /tmp/garradin-build garradin-${VERSION}
           32  +
           33  +deb:
           34  +	cd ../debian; ./makedeb.sh
    30     35   
    31         -publish: release
           36  +publish: release deb
    32     37   	$(eval VERSION=$(shell cat VERSION))
    33     38   	fossil uv sync
    34         -	fossil uv ls | fgrep -v 'garradin-0.8.5' | grep '^garradin-.*\.tar\.bz2' | xargs fossil uv rm
           39  +	fossil uv ls | fgrep -v 'garradin-0.8.5' | grep '^garradin-.*\.(tar\.bz2|deb)' | xargs fossil uv rm
    35     40   	fossil uv add garradin-${VERSION}.tar.bz2
           41  +	fossil uv add ../debian/garradin-${VERSION}.deb
    36     42   	fossil uv sync
    37     43   
    38     44   check-dependencies:
    39     45   	grep -hEo '^use \\?KD2\\\w+|\\KD2\\\w+' -R include/lib/Garradin www | sed -r 's/^use \\?KD2\\|^\\KD2\\//' | sort | uniq