Keep the set version, and force buidling the API, during publish

This commit is contained in:
Sebastian Thiel
2022-01-03 08:44:40 +08:00
parent 86f055be4a
commit 022e65bc5b

View File

@@ -115,8 +115,8 @@ ${gen_root_stamp}: $(MAKO_RENDER) ${' '.join(i[0] for i in sds)} ${api_json_inpu
${api_target}: ${api_common}
${api_crate_publish_file}:
cd ${gen_root} && cargo smart-release --execute --no-changelog
${api_crate_publish_file}: ${api_target}
cd ${gen_root} && cargo smart-release --execute --no-changelog -b keep
@mkdir -p ${os.path.dirname(api_crate_publish_file)}
touch $@