Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lisa Greene
Tales of MajEyal
Commits
0318b3ec
Commit
0318b3ec
authored
10 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
fix paths
parent
ab361c66
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
utils/publish_release.sh
+2
-2
2 additions, 2 deletions
utils/publish_release.sh
utils/release.sh
+11
-11
11 additions, 11 deletions
utils/release.sh
utils/te4_generate_patch.sh
+7
-3
7 additions, 3 deletions
utils/te4_generate_patch.sh
with
20 additions
and
16 deletions
utils/publish_release.sh
+
2
−
2
View file @
0318b3ec
...
...
@@ -15,8 +15,8 @@ read ivmd
echo
"*********** MD5 for Stone Wardens: *********"
read
swmd
ln
-fs
/var/www/te4.org/htdocs/dl/t-engine/t-engine4-windows-
$v
.zip /var/www/te4.org/htdocs/dl/t-engine/full/tome-full-windows-
$v
.zip
fmd5
=
`
md5sum
/var/www/te4.org/htdocs/dl/t-engine/full/tome-full-windows-
$v
.zip |
cut
-d
' '
-f1
`
ln
-fs
/foreign/eyal
/var/www/te4.org/htdocs/dl/t-engine/t-engine4-windows-
$v
.zip
/foreign/eyal
/var/www/te4.org/htdocs/dl/t-engine/full/tome-full-windows-
$v
.zip
fmd5
=
`
md5sum
/foreign/eyal
/var/www/te4.org/htdocs/dl/t-engine/full/tome-full-windows-
$v
.zip |
cut
-d
' '
-f1
`
echo
"SQL:"
echo
"replace into modules_addons_versions set module='tome', addon='tome-items-vault-
$v
' , md5='
$ivmd
', md5_2 ='';"
...
...
This diff is collapsed.
Click to expand it.
utils/release.sh
+
11
−
11
View file @
0318b3ec
...
...
@@ -42,13 +42,13 @@ find . -name '*~' -or -name '.svn' -or -name '.keep' | xargs rm -rf
cd
game/engines
te4_pack_engine.sh default/ te4-
"
$ever
"
te4_pack_engine.sh default/ te4-
"
$ever
"
1
\c
p
-f
te4-
*
.teae boot-te4-
*
.team /var/www/te4.org/htdocs/dl/engines
\c
p
-f
te4-
*
.teae boot-te4-
*
.team
/foreign/eyal
/var/www/te4.org/htdocs/dl/engines
mv
boot
*
team ../modules
rm
-rf
default
cd
../modules
te4_pack_module_tome.sh tome
"
$tver
"
#te4_pack_module.sh tome "$tver" 1
\c
p
-f
tome
*
.team /var/www/te4.org/htdocs/dl/modules/tome/
\c
p
-f
tome
*
.team
/foreign/eyal
/var/www/te4.org/htdocs/dl/modules/tome/
rm
-f
tome
*
nomusic.team
rm
-f
boot
*
nomusic.team
rm
-rf
tome
...
...
@@ -109,8 +109,8 @@ done
rm
game/modules/tome
*
-music
.team
#rm game/modules/tome*team
rm
game/modules/boot
*
team
#cp /var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
cp
/var/www/te4.org/htdocs/dl/engines/boot-te4-
"
$ever
"
-nomusic
.team game/modules/
#cp
/foreign/eyal
/var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
cp
/foreign/eyal
/var/www/te4.org/htdocs/dl/engines/boot-te4-
"
$ever
"
-nomusic
.team game/modules/
cd
..
tar
cvjf t-engine4-src-
"
$ver
"
-nomusic
.tar.bz2 t-engine4-src-
"
$ver
"
...
...
@@ -124,8 +124,8 @@ done
rm
game/modules/tome
*
-music
.team
#rm game/modules/tome*team
rm
game/modules/boot
*
team
#cp /var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
cp
/var/www/te4.org/htdocs/dl/engines/boot-te4-
"
$ever
"
-nomusic
.team game/modules/
#cp
/foreign/eyal
/var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
cp
/foreign/eyal
/var/www/te4.org/htdocs/dl/engines/boot-te4-
"
$ever
"
-nomusic
.team game/modules/
cd
..
zip
-r
-9
t-engine4-windows-
"
$ver
"
-nomusic
.zip t-engine4-windows-
"
$ver
"
...
...
@@ -139,8 +139,8 @@ done
rm
game/modules/tome
*
-music
.team
#rm game/modules/tome*team
rm
game/modules/boot
*
team
#cp /var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
cp
/var/www/te4.org/htdocs/dl/engines/boot-te4-
"
$ever
"
-nomusic
.team game/modules/
#cp
/foreign/eyal
/var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
cp
/foreign/eyal
/var/www/te4.org/htdocs/dl/engines/boot-te4-
"
$ever
"
-nomusic
.team game/modules/
cd
..
tar
-cvjf
t-engine4-linux32-
"
$ver
"
-nomusic
.tar.bz2 t-engine4-linux32-
"
$ver
"
...
...
@@ -154,12 +154,12 @@ done
rm
game/modules/tome
*
-music
.team
#rm game/modules/tome*team
rm
game/modules/boot
*
team
#cp /var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
cp
/var/www/te4.org/htdocs/dl/engines/boot-te4-
"
$ever
"
-nomusic
.team game/modules/
#cp
/foreign/eyal
/var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
cp
/foreign/eyal
/var/www/te4.org/htdocs/dl/engines/boot-te4-
"
$ever
"
-nomusic
.team game/modules/
cd
..
tar
-cvjf
t-engine4-linux64-
"
$ver
"
-nomusic
.tar.bz2 t-engine4-linux64-
"
$ver
"
cp
*
zip
*
bz2
*
dmg.gz /var/www/te4.org/htdocs/dl/t-engine
cp
*
zip
*
bz2
*
dmg.gz
/foreign/eyal
/var/www/te4.org/htdocs/dl/t-engine
########## Announce
...
...
This diff is collapsed.
Click to expand it.
utils/te4_generate_patch.sh
+
7
−
3
View file @
0318b3ec
...
...
@@ -16,9 +16,13 @@ if test "$os" = 'linux64'; then
ext
=
".tar.bz2"
unpack
=
"tar xvjf"
fi
if
test
"
$os
"
=
'linux32'
;
then
ext
=
".tar.bz2"
unpack
=
"tar xvjf"
fi
$unpack
/var/www/te4.org/htdocs/dl/t-engine/t-engine4-
$os
-
$old$ext
$unpack
/var/www/te4.org/htdocs/dl/t-engine/t-engine4-
$os
-
$new$ext
$unpack
/foreign/eyal
/var/www/te4.org/htdocs/dl/t-engine/t-engine4-
$os
-
$old$ext
$unpack
/foreign/eyal
/var/www/te4.org/htdocs/dl/t-engine/t-engine4-
$os
-
$new$ext
oldv
=
`
ls
t-engine4-
$os
-
$old
/game/modules/tome-
*
[
0-9].team |
head
-n1
|
sed
-e
's/^.*tome-//'
-e
's/\.team$//'
`
newv
=
`
ls
t-engine4-
$os
-
$new
/game/modules/tome-
*
[
0-9].team |
head
-n1
|
sed
-e
's/^.*tome-//'
-e
's/\.team$//'
`
...
...
@@ -26,7 +30,7 @@ newv=`ls t-engine4-$os-$new/game/modules/tome-*[0-9].team | head -n1 | sed -e 's
cd
"t-engine4-
$os
-
$new
"
sh ../../utils/te4_patch.sh
$oldv
$newv
../t-engine4-
$os
-
$old
../patch
$os
pmd5
=
`
md5sum
../
$os
-patch-
$oldv
-to-
$newv
.zip |
cut
-d
' '
-f1
`
cp
"../
$os
-patch-
$oldv
-to-
$newv
.zip"
/var/www/te4.org/htdocs/dl/t-engine/patch/
cp
"../
$os
-patch-
$oldv
-to-
$newv
.zip"
/foreign/eyal
/var/www/te4.org/htdocs/dl/t-engine/patch/
echo
"SQL:"
echo
"REPLACE INTO patch_chain SET os='
$os
', vfrom='
$oldv
', vto='
$newv
', file='
$os
-patch-
$oldv
-to-
$newv
.zip', md5='
$pmd5
', shown='false';"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment