Skip to content

Commit

Permalink
github: fix build-deb-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Wheeler committed Aug 14, 2024
1 parent 3ae4da9 commit f5d0427
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build-deb-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,19 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y build-essential autoconf automake libtool \
libgtk-3-dev libglib2.0-dev gettext gettext autopoint desktop-file-utils devscripts fakeroot lintian
libgtk-3-dev libglib2.0-dev gettext desktop-file-utils devscripts fakeroot lintian autopoint dh-make
- name: Prepare Debian Packaging
run: |
# Initialize debian directory structure if it doesn't exist
if [ ! -d "debian" ]; then
dh_make --createorig -y --single --native --packagename xnec2c_1.0
fi
# Optionally modify the debian/changelog file if needed
echo "xnec2c (1.0) unstable; urgency=low" > debian/changelog
echo " * Initial release." >> debian/changelog
echo " -- Your Name <youremail@example.com> $(date -R)" >> debian/changelog
- name: Build the DEB package using debuild
run: |
Expand Down

0 comments on commit f5d0427

Please sign in to comment.