Skip to content

Commit 372301d

Browse files
authored
Merge pull request #7 from torikulhabib/master
update
2 parents 6fe6fa6 + bd54e97 commit 372301d

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

.github/workflows/ppa.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
VERSION=${GITHUB_REF_NAME#v}
3636
cd ..
3737
cp -r gabutytb gabutytb-${VERSION}
38-
# nama harus sesuai dengan Package di debian/changelog
3938
tar -czf com.github.gabutakut.gabutytb_${VERSION}.orig.tar.gz gabutytb-${VERSION}
4039
4140
- name: Build package
@@ -46,18 +45,17 @@ jobs:
4645
run: |
4746
VERSION=${GITHUB_REF_NAME#v}
4847
cd ../gabutytb-${VERSION}
48+
49+
dch --newversion "${VERSION}-1~ppa1" \
50+
--distribution noble \
51+
--force-distribution \
52+
"Release ${VERSION}"
53+
4954
chmod 644 debian/changelog debian/control debian/copyright
55+
chmod +x debian/rules
5056
51-
# Build tanpa sign dulu
5257
dpkg-buildpackage -S -sa -d --no-sign
5358
54-
# Sign manual pakai passphrase
55-
echo "${{ secrets.GPG_PASSPHRASE }}" | \
56-
gpg --batch --yes --pinentry-mode loopback \
57-
--passphrase-fd 0 \
58-
-u ${{ secrets.GPG_KEY_ID }} \
59-
--clearsign ../*.dsc
60-
6159
echo "${{ secrets.GPG_PASSPHRASE }}" | \
6260
debsign -k${{ secrets.GPG_KEY_ID }} \
6361
--no-re-sign \
@@ -67,4 +65,4 @@ jobs:
6765
- name: Upload to PPA
6866
run: |
6967
cd ..
70-
dput ppa:torik-habib/gabutdm *.changes
68+
dput ppa:torik-habib/gabutdm *.changes

0 commit comments

Comments
 (0)