mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 05:11:04 +00:00
Also overwriting version.txt upon remote deploy to show the correct version information
This commit is contained in:
1 parent
fc44aeebd5
commit
8694a7b50c
1 file changed
+4
@@ -428,6 +428,10 @@ if [[ "$@" == "remote-deploy" ]]; then
|
||||
$SCP_CMD $p2PluginRepository/configuration/org.eclipse.equinox.simpleconfigurator $REMOTE_SERVER_LOGIN:$REMOTE_SERVER/configuration/
|
||||
$SCP_CMD $p2PluginRepository/plugins/*.jar $REMOTE_SERVER_LOGIN:$REMOTE_SERVER/plugins/
|
||||
|
||||
echo "$VERSION_INFO-remotedly-deployed" > /tmp/version-remote-deploy.txt
|
||||
$SCP_CMD /tmp/version-remote-deploy.txt $REMOTE_SERVER_LOGIN:$REMOTE_SERVER/configuration/jetty/version.txt
|
||||
rm /tmp/version-remote-deploy.txt
|
||||
|
||||
echo "Deployed successfully. I did NOT change any configuration (no env.sh or config.ini or jetty.xml adaption), only code!"
|
||||
|
||||
read -s -n1 -p "Do you want me to restart the remote server (y/n)? " answer
|
||||
|
||||
Reference in new issue
Block a user