mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-03 02:43:53 +00:00
update script can be executed in respective server directory to update plugins from maven-repositories
This commit is contained in:
1 parent
933319b155
commit
ea23a24cfc
1 file changed
+8
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
branch=`basename \`pwd\` | sed -e 's/[12]$//'`
|
||||
echo Branch: $branch
|
||||
branchMavenRepository=~/maven-repositories/$branch
|
||||
echo Maven repository for branch: $branchMavenRepository
|
||||
echo Copying all JAR files from Maven repository to branch server\s plugin directory...
|
||||
find $branchMavenRepository -name '*.jar' -exec cp -v "{}" ./plugins \;
|
||||
echo Done.
|
||||
Reference in new issue
Block a user