Add recipe for Debian packages

next
Sayan Nandan 3 years ago
parent e9369a40ef
commit bb20f863b6
No known key found for this signature in database
GPG Key ID: 8BC07A0A4D41DD52

@ -55,7 +55,6 @@ steps:
- apt-get update && apt-get install zip -y
- make bundle
- make deb
- mv *.deb skytable-${DRONE_TAG}-$ARTIFACT.deb
when:
event:
- tag

@ -115,7 +115,7 @@ bundle: release-bundle
@${SEP}
@echo "Building and packaging bundle (release) ..."
@${ARCHIVE}
@-${RENAME_ARTIFACT}
@${RENAME_ARTIFACT}
@${SEP}
test: .pre
@${SEP}
@ -140,3 +140,11 @@ clean:
@echo "Cleaning up target folder ..."
cargo clean
@${SEP}
deb: release-bundle
@${SEP}
@echo "Making a debian package (release) ..."
@echo "Installing tools for packaging ..."
@cargo install cargo-deb
@echo "Packaging ..."
@cargo deb $(TARGET_ARG) --manifest-path=server/Cargo.toml --output .
@${SEP}

Loading…
Cancel
Save