push tarball to master when releasing
1 parent d57c812 commit f879ed35abc415f59eb58b43f7878d0ef5dd4ef9
@tundra tundra authored on 7 Nov 2016
Showing 1 changed file
View
5
makefile
@sed -i "s/Id:.*/Id: \'$(shell git log --pretty=format:"%h%x20%an%x20%ad"\' | head -n1)/" ${PROGNAME}.rst
@git add ${PROGNAME}.sh ${PROGNAME}.rst
 
release: docs fixrev ${PROGFILES}
@git commit -m${HEADER1}
@git push
@mkdir -p ${DIR}/Docs
-@mkdir -p ${RELEASES} 2>&1 >/dev/null
@cp -pv ${DOCS} ${PROGDOCS} ${DIR}/Docs
@cp -pv ${SUPPORT} ${PROGFILES} ${DIR}/
@tar -czvf ${TARBALL} --exclude CVS ${DIR}
@rm -rf ${DIR}
@mv ${DIR}.tar.gz ${RELEASES}
@git add ${RELEASES}/${DIR}.tar.gz
@git commit -am${HEADER1}
@git push
 
 
#####
# Housekeeping