Skip to content

Commit 8de0e44

Browse files
committed
remove unused file
1 parent 4714d02 commit 8de0e44

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

extra/publish.sh

100755100644
Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +0,0 @@
1-
#!/bin/bash
2-
3-
set -xeu -o pipefail
4-
5-
bin_dir="$(realpath $bin_dir)"
6-
7-
# release?
8-
if [ -n "$TRAVIS_TAG" ]; then # tag found: releasing
9-
version="$TRAVIS_TAG"
10-
11-
# data
12-
dat="$mod_name.dat"
13-
mkdir -p "$mods_dir"
14-
15-
cd data
16-
rm -rf text/po # gettext translations
17-
# I don't know how to pack recursively
18-
find . -type f | sed -e 's|^\.\/||' -e 's|\/|\\|g' | sort > ../file.list # replace slashes with backslashes
19-
WINEARCH=win32 WINEDEBUG=-all wine "$bin_dir/dat2.exe" a $dat @../file.list
20-
cd ..
21-
mv "data/$dat" "$mods_dir/"
22-
23-
# sfall
24-
sfall_url="https://sourceforge.net/projects/sfall/files/sfall/sfall_$sfall_version.7z/download"
25-
wget -q "$sfall_url" -O sfall.7z
26-
7zr e sfall.7z ddraw.dll
27-
zip -r "${mod_name}_${version}.zip" ddraw.dll "$mods_dir/" # our package
28-
fi

0 commit comments

Comments
 (0)