From e7d20cf352688bf717a01f4e6d9e6f497c2bea4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 20 Sep 2025 19:19:34 +0200 Subject: New upstream version 5.3.1Beta2 --- distribution/flatpak/make-source-archive | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 distribution/flatpak/make-source-archive (limited to 'distribution/flatpak/make-source-archive') diff --git a/distribution/flatpak/make-source-archive b/distribution/flatpak/make-source-archive new file mode 100755 index 0000000..5e48823 --- /dev/null +++ b/distribution/flatpak/make-source-archive @@ -0,0 +1,23 @@ +#!/bin/bash +if [ $# -ne 1 ] ; then + echo "$0 /distribution/flatpak" + echo "Create source tar ball, with .xpm3 files" + echo "Run from /distribution/flatpak" + echo "Computes sha256 checksum which must updated in org.xtrkcad.xtrkcad.yml" + exit 0 +fi + +SRCDIR=`pwd` +BLDDIR=$1 + +cd ../.. +tar cf ${BLDDIR}/source.tar . +cd $BLDDIR/../../app/bin +tar rf ${BLDDIR}/source.tar ./bitmaps + +cd $BLDDIR +rm -f source.tar.gz +# -n zeros the timestamp so repeated runs yield the same checksum +gzip -n source.tar +echo "Update org.xtrkcad.xtrkcad.yml with this checksum" +sha256sum source.tar.gz -- cgit v1.2.3