Skip to content

Commit

Permalink
Added a script called "gitrid.sh", which will update wire_version.txt…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
TomyLobo committed May 9, 2012
1 parent 1d79361 commit 6d63a93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gitrid.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
echo "git (`git describe --always`)" > data/wire_version.txt
rm -rf .git

0 comments on commit 6d63a93

Please sign in to comment.