Skip to content

Public release: contents

Ivan Mogilko edited this page Feb 5, 2017 · 1 revision

AGS Editor installation package

TBD

Additional packages

Linux source package

We were asked to provide tarball with sources selected exclusively for Linux port upon every (final) public release. These tarballs may be used to create AGS engine distributions for any Linux system by their maintainers. The idea is that, as opposed to archiving whole repository, such tarball contains only source files that are actually required for such distribution.

Create tarball using following shell script or similar (valid at the time of writing, which is Feb 2017):

#!/bin/bash

cd ags
VERSION=$1
echo Source revision: $VERSION
ORIG_CONTENT="$(git ls-tree --name-only $VERSION | grep -E '(Common|Engine|Plugins|Changes.txt|Copyright.txt|License.txt|OPTIONS.md|README.md)')"
echo Files: $ORIG_CONTENT
echo Running git archive...
git archive --prefix=ags_linux_$VERSION/ --format=tar $VERSION $ORIG_CONTENT | xz > ../ags_linux_$VERSION.tar.xz
echo Done
cd ..

Put the script one step above the directory with AGS repository, and execute, passing your release's tag name as the only argument. If successful, this will create ags_linux_XXX.tar.xz, where XXX is the name of the tag. Attach the tarball to the corresponding tag on github repository page.

If possible, this step should be automated.