Skip to content

Commit 5047ae5

Browse files
committed
chore: make the source tarball exhibit the old behavior
1 parent 14804a4 commit 5047ae5

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -345,14 +345,12 @@ jobs:
345345
uses: TokTok/ci-tools/.github/workflows/deploy-artifact.yml@master
346346
with:
347347
project-name: toxcore
348-
artifact-source: tox-*.tar.{gz,xz}
349-
artifact-versioned: $VERSION.tar.{gz,xz}
348+
artifact-source: toxcore.tar.{gz,xz}
349+
artifact-versioned: c-toxcore-$VERSION.tar.{gz,xz}
350350
build: tarball
351351
run: |
352352
sudo apt-get install -y --no-install-recommends libsodium-dev
353353
autoreconf -fi
354-
./configure
355-
make dist
356-
for f in tox-*.tar.gz; do
357-
gunzip -c "$f" | xz -z - >"${f%.gz}.xz"
358-
done
354+
touch toxcore.tar.gz # prevent error of file changes
355+
tar --exclude-vcs --exclude='toxcore.tar.gz' --exclude='third_party/ci-tools' --exclude='*.github' --exclude='autom4te.cache' -zcvf toxcore.tar.gz .
356+
gunzip -c toxcore.tar.gz | xz -z - >"toxcore.tar.xz"

0 commit comments

Comments
 (0)