We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aab906 commit db96b60Copy full SHA for db96b60
.github/workflows/create-deb-ppa-packages.yml
@@ -64,8 +64,14 @@ jobs:
64
mkdir -p both/{amd64,arm64}
65
cp -R ton-linux-deb-amd64/* both/amd64/
66
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
+
+ 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
75
76
mkdir ton-$VERSION
77
0 commit comments