mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
feat(DB): release ACDB 5.0.0 (#10292)
* auth * char * world * archive * new files * v * correct auth db * add support get last file from archive * correct world updates * fix auth * pendinig to normal * add pending auth * add pendings * smallint * MEDIUMINT
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "azerothcore-wotlk",
|
"name": "azerothcore-wotlk",
|
||||||
"version": "5.0.0-dev.1",
|
"version": "6.0.0-dev.0",
|
||||||
"license": "AGPL3"
|
"license": "AGPL3"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,12 +13,13 @@ function import() {
|
|||||||
folder="db_"$db
|
folder="db_"$db
|
||||||
pendingPath="$AC_PATH_ROOT/data/sql/updates/pending_$folder"
|
pendingPath="$AC_PATH_ROOT/data/sql/updates/pending_$folder"
|
||||||
updPath="$UPDATES_PATH/$folder"
|
updPath="$UPDATES_PATH/$folder"
|
||||||
|
archivedPath="$AC_PATH_ROOT/data/sql/archive/$folder/5.x"
|
||||||
|
|
||||||
latestUpd=`ls -1 $updPath/ | tail -n 1`
|
latestUpd=`ls -1 $updPath/ | tail -n 1`
|
||||||
|
|
||||||
if [ -z $latestUpd ]; then
|
if [ -z $latestUpd ]; then
|
||||||
echo "FIRST UPDATE FILE MISSING!! DID YOU ARCHIVED IT?";
|
latestUpd=`ls -1 $archivedPath/ | tail -n 1`
|
||||||
exit;
|
echo "> Last update file for db $db is missing! Using archived file" $latestUpd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dateToday=`date +%Y_%m_%d`
|
dateToday=`date +%Y_%m_%d`
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user