wire/gitrid.sh
TomyLobo 6d63a9385d Added a script called "gitrid.sh", which will update wire_version.txt and remove the git repository.
Use this script where you would previously use SVN export.
Steps:
1. cd <your gmod addons folder>
2. git clone <your local wire git repository directory>
3. cd wire
4. ./gitrid.sh

Remember to put windows paths (with backslashes and such) in quotes on git bash
2012-05-09 12:44:05 +02:00

4 lines
83 B
Bash

#!/bin/sh
echo "git (`git describe --always`)" > data/wire_version.txt
rm -rf .git