Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 26 lines (16 sloc) 1.078 kb
#! /bin/sh
###########################################################################
version=`cat VERSION`
webstartdir=flowpaint-$version-webstart
echo "### Deploying webstart package of $webstartdir. First we copy the webstart package to the correct SVN directory, after that you should still check in the changes yourself. Assumes that you checked out flowpaint from the directory above trunk, so that the webstart directory is included."
echo "### Specify the directory to deploy the webstart into (unstable or stable). WARNING: Deploying in stable will push the release to ALL USERS, use only for tested official releases."
echo ""
echo -n "### Enter 'unstable' or 'stable': "
read deploydir
echo ""
deploypath=../webstart/$deploydir/
echo "### Copying contents of $webstartdir to $deploypath"
cp -v $webstartdir/* $deploypath
echo "### Setting webstart jnlp mime type to the correct value using svn properties"
svn propset svn:mime-type application/x-java-jnlp-file $deploypath/flowpaint.jnlp
echo "### Done. Remember to check in the files in $deploypath"
Jump to Line
Something went wrong with that request. Please try again.