Skip to content

Commit de63b45

Browse files
fix: remove --deb-revision flag incompatible with cargo-deb 3.x when using --deb-version (#16)
1 parent 59db80a commit de63b45

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,9 @@ package:
112112
# Build packages
113113
# These don't respect CARGO_BUILD_TARGET, so we need to add --target manually using $(TARGET_FLAG)
114114
cargo deb --locked $(TARGET_FLAG) --no-build -p mgmtd -o $(PACKAGE_DIR)/ \
115-
--deb-version="20:$(VERSION_TRIMMED)" \
116-
--deb-revision=""
115+
--deb-version="20:$(VERSION_TRIMMED)"
117116
cargo deb --locked $(TARGET_FLAG) --no-build -p mgmtd -o $(PACKAGE_DIR)/ --variant=debug \
118-
--deb-version="20:$(VERSION_TRIMMED)" \
119-
--deb-revision=""
117+
--deb-version="20:$(VERSION_TRIMMED)"
120118

121119
# We don't want the epoch in the file names
122120
find $(PACKAGE_DIR) -name "*_20:*.deb" -exec bash -c 'mv "$$1" $$(echo "$$1" | sed "s/_20:/_/g")' bash {} \;

0 commit comments

Comments
 (0)