aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/get-latest-xsd-version.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/get-latest-xsd-version.sh')
-rw-r--r--scripts/get-latest-xsd-version.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/get-latest-xsd-version.sh b/scripts/get-latest-xsd-version.sh
new file mode 100644
index 0000000..0529821
--- /dev/null
+++ b/scripts/get-latest-xsd-version.sh
@@ -0,0 +1,7 @@
+basedir=$1
+cd ${basedir}/target/tmp/aai_schema
+cp `ls -v | tail -1` ${basedir}/target/tmp/aai_schema/aai_schema_latest.xsd || exit 1
+echo "get-latest-xsd-version.sh has successfully copied aai_schema_latest.xsd to ${basedir}/target/tmp/aai_schema/latest_aai_schema"
+exit 0
+
+