diff options
author | Marius Kintel <marius@kintel.net> | 2012-06-20 10:02:31 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-06-20 10:02:31 (GMT) |
commit | d6ff5e9468e48de44a68b46ecdd65b79f398e5e0 (patch) | |
tree | 31c1fead4a9cacab6d392c383f3c0d504ead7903 | |
parent | 9698d1d2fbe6b19573a0e483a6411a8ebd0f6947 (diff) | |
parent | 32a0fcb892cbc8391ec3fcf545a88fafa83f083d (diff) |
Merge pull request #129 from brad/linux-release
Linux release
-rwxr-xr-x | scripts/release-common.sh | 2 | ||||
-rwxr-xr-x | scripts/update-web.sh | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/scripts/release-common.sh b/scripts/release-common.sh index 80c9795..94a8634 100755 --- a/scripts/release-common.sh +++ b/scripts/release-common.sh @@ -186,6 +186,6 @@ case $OS in strip openscad-$VERSION/lib/openscad/* cp scripts/installer-linux.sh openscad-$VERSION/install.sh chmod 755 -R openscad-$VERSION/ - tar cz openscad-$VERSION > openscad-$VERSION.x86-64.tar.gz + tar cz openscad-$VERSION > openscad-$VERSION.x86-$ARCH.tar.gz ;; esac diff --git a/scripts/update-web.sh b/scripts/update-web.sh index 9036d9b..c611d28 100755 --- a/scripts/update-web.sh +++ b/scripts/update-web.sh @@ -11,6 +11,8 @@ fi if [[ $OSTYPE =~ "darwin" ]]; then OS=MACOSX +elif [[ $OSTYPE == "linux-gnu" ]]; then + OS=LINUX fi indexfile=../openscad.github.com/index.html @@ -21,6 +23,10 @@ if [ -f $indexfile ]; then file2=$2 sed -i .backup -e "s/^\(.*win-snapshot-zip.*\)\(OpenSCAD-.*\.zip\)\(.*\)\(OpenSCAD-.*zip\)\(.*$\)/\\1$file1\\3$file1\\5/" $indexfile sed -i .backup -e "s/^\(.*win-snapshot-exe.*\)\(OpenSCAD-.*-Installer\.exe\)\(.*\)\(OpenSCAD-.*-Installer.exe\)\(.*$\)/\\1$file2\\3$file2\\5/" $indexfile + elif [ $OS == LINUX ]; then + file2=$2 + sed -i .backup -e "s/^\(.*linux-snapshot-32.*\)\(openscad-.*-32\.tar\.gz\)\(.*\)\(openscad-.*-32\.tar\.gz\)\(.*$\)/\\1$file1\\3$file1\\5/" $indexfile + sed -i .backup -e "s/^\(.*linux-snapshot-64.*\)\(openscad-.*-64\.tar\.gz\)\(.*\)\(openscad-.*-64\.tar\.gz\)\(.*$\)/\\1$file2\\3$file2\\5/" $indexfile fi echo "Web page updated. Remember to commit and push openscad.github.com" else |