summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitattributes3
-rw-r--r--.gitignore1
-rwxr-xr-xcreate-release-tarball.sh3
3 files changed, 7 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..17e0661
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,3 @@
+create-release-tarball.sh export-ignore
+.gitignore export-ignore
+.gitattributes export-ignore
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8fa41cd
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+tmw-branding-*.tar.gz
diff --git a/create-release-tarball.sh b/create-release-tarball.sh
new file mode 100755
index 0000000..2162bb4
--- /dev/null
+++ b/create-release-tarball.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+HEAD=$(git describe --tags)
+git archive HEAD --prefix=tmw-branding-${HEAD#v}/ -o tmw-branding-${HEAD#v}.tar.gz