Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Error: "can't build with source format '3.0 (native)': native package version may not have a revision" #23
On Debian Jessie this task fails with the following error message, which is only displayed when --verbose has been added to the grunt command:
Without --verbose a generic and not helpful error message is displayed that may lead into the wrong direction. On a recent Ubuntu this error doesn't happen. (But probably will on future releases.)
The reason for this is that the package is built as a native package whereas the version number generated by this grunt task indicates that it is a non-native package because it uses a hyphen (like 1.2.3-4 instead of just 1.2.3).
My workaround for this is to simply replace the hyphen with a dot. In
This is also probably the correct fix for this problem since revision and build number are two different things anyway.