Skip to content

Commit db96b60

Browse files
committed
exclude revision for initial release
1 parent 8aab906 commit db96b60

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/create-deb-ppa-packages.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,14 @@ jobs:
6464
mkdir -p both/{amd64,arm64}
6565
cp -R ton-linux-deb-amd64/* both/amd64/
6666
cp -R ton-linux-deb-arm64/* both/arm64/
67-
tar -czvf ton-${VERSION}-${REVISION}.tar.gz -C both .
68-
ln -s ton-${VERSION}-${REVISION}.tar.gz ton_${VERSION}-${REVISION}.orig.tar.gz
67+
68+
if [[ $REVISION -eq 1 ]]; then
69+
tar -czvf ton-${VERSION}.tar.gz -C both .
70+
ln -s ton-${VERSION}.tar.gz ton_${VERSION}.orig.tar.gz
71+
else
72+
tar -czvf ton-${VERSION}-${REVISION}.tar.gz -C both .
73+
ln -s ton-${VERSION}-${REVISION}.tar.gz ton_${VERSION}.orig.tar.gz
74+
fi
6975
7076
mkdir ton-$VERSION
7177

0 commit comments

Comments
 (0)