From 84b85a84854fc936ac477e005f0640385f379a8e Mon Sep 17 00:00:00 2001 From: Amorilia <amorilia@users.sourceforge.net> Date: Fri, 21 Sep 2012 19:14:13 +0100 Subject: [PATCH] Add release script, update .gitattributes for sh files. --- .gitattributes | 1 + VERSION | 1 + make-release.sh | 4 ++++ 3 files changed, 6 insertions(+) create mode 100644 VERSION create mode 100644 make-release.sh diff --git a/.gitattributes b/.gitattributes index 0ace9827..9ad13680 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,4 @@ *.cpp text *.h text CMakeLists.txt text +*.sh eol=lf diff --git a/VERSION b/VERSION new file mode 100644 index 00000000..dc2dae3a --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.8.1a0.dev0 \ No newline at end of file diff --git a/make-release.sh b/make-release.sh new file mode 100644 index 00000000..ed713a16 --- /dev/null +++ b/make-release.sh @@ -0,0 +1,4 @@ +VERSION=`cat VERSION` +rm ../niflib-${VERSION}-src.zip +doxygen +find . -type f -not -wholename "*.git*" -and -not -name ".project" | xargs zip ../niflib-${VERSION}-src.zip -- GitLab