2021-01-21 11:45:05 +01:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
mkdir -p repo/
|
|
|
|
|
2021-01-21 13:04:21 +01:00
|
|
|
revision=$(git rev-list HEAD --count)
|
|
|
|
|
2021-01-21 13:05:14 +01:00
|
|
|
cp server/build/server-1.0-all.jar "repo/server-r$revision.jar"
|
|
|
|
cp -f server/build/server-1.0-all.jar "repo/server-latest.jar"
|