Skip to content

Commit 962dc89

Browse files
authored
Update release.yml
1 parent 5119bed commit 962dc89

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,12 @@ jobs:
8585
- name: Create Debian package
8686
run: |
8787
VERSION=$(echo ${{ github.ref_name }} | sed 's/^v//')
88+
# Prepare the source directory with source files, not the binary
8889
mkdir -p osvm-$VERSION
89-
cp ./osvm osvm-$VERSION/
90+
cp -r src Cargo.toml Cargo.lock README.md LICENSE osvm-$VERSION/
91+
tar czvf osvm_$VERSION.orig.tar.gz osvm-$VERSION
9092
cd osvm-$VERSION
91-
dh_make -y -s -c apache -e [email protected] -f ../osvm
93+
dh_make -y -s -c apache -e [email protected] -f ../osvm_$VERSION.orig.tar.gz
9294
cd ..
9395
dpkg-buildpackage -us -uc
9496

0 commit comments

Comments
 (0)