Commit ba017937 authored by Adrien Plazas's avatar Adrien Plazas

tools: Add

Add a script for generating release tarball using 'git archive'.
parent 4e937fd9
flatpak export-ignore
tools export-ignore
.editorconfig export-ignore
.gitattributes export-ignore
.gitignore export-ignore
# A replacement for `ninja dist` until it can exclude `flatpak` and `tools` directories.
VERSION=$(grep -Pom1 "version:\s+'\K[\w.]+" ../
cd ..
git archive --prefix $PROJECT-$VERSION/ -o tools/$PROJECT-$VERSION.tar HEAD .
xz -f tools/$PROJECT-$VERSION.tar
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