Skip to content

Commit

Permalink
include version in path to .deb file
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Jan 23, 2024
1 parent 569890f commit 44f7dc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,15 @@ jobs:
echo "Building ${BUILD_NAME}.deb"
dpkg-deb --build ${BUILD_NAME}
# Move the .deb file to debian/pool/main/${{ env.PROJECT }}/
mv ${BUILD_NAME}.deb ../debian/pool/main/${{ env.PROJECT }}/
# Update the Packages file
dpkg-scanpackages ../debian/pool/main/${{ env.PROJECT }}/ /dev/null | gzip -9c > debian/dists/stable/main/binary-${arch}/Packages.gz
# Move the .deb file
mkdir -p ../debian/pool/main/${{ env.PROJECT }}/${VERSION}/
mv ${BUILD_NAME}.deb ../debian/pool/main/${{ env.PROJECT }}/${VERSION}/
# Remove the temporary folders
rm -rf ${BUILD_NAME}
# Update the Packages file
dpkg-scanpackages ../debian/pool/main/ /dev/null | gzip -9c > debian/dists/stable/main/binary-${arch}/Packages.gz
done
# Move out of tmp and delete it
Expand Down

0 comments on commit 44f7dc1

Please sign in to comment.