Skip to content

Commit

Permalink
Move all products to Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Isarhamster committed Sep 6, 2024
1 parent 02a3d3d commit 9abd176
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions setup7-64.iss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ AllowNoIcons=yes
LicenseFile=.\COPYING.md
InfoAfterFile=.\ChangeLog.md
OutputBaseFilename=setup-chessx7-64
OutputDir=Packages
SetupIconFile=.\src\chessx.ico
Compression=lzma
SolidCompression=yes
Expand Down
15 changes: 9 additions & 6 deletions unix/make_tarball
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh
DIR=${0%/*}
DIR=$( dirname -- "$( readlink -f -- "$0"; )"; )
cd "$(DIR)"

echo "Build archive from ${DIR} in ${DIR}/../Packages/"

VERSION=$(awk '
Expand All @@ -14,15 +16,16 @@ VERSION=$(awk '
echo "Building archive for version ${VERSION}"

CNAME=chessx-${VERSION}
__SCRIPTDIR="${0%/*}"

if [ -d "$CNAME" ]; then
gtar -czf "${CNAME}.tgz" --exclude-from=$__SCRIPTDIR/tar_exclude.txt ./chessx
mv "${CNAME}.tgz" ${DIR}/../Packages/
if [ -d chessx-master ]; then
gtar -czf "${CNAME}.tgz" --exclude-from="tar_exclude.txt" "chessx-master"
mv "${CNAME}.tgz" ../Packages/
echo "Ready"
else
echo "Directory not found"
echo 'Directory not found'
fi

cd -



0 comments on commit 9abd176

Please sign in to comment.