We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fpm_model.json
fpm_publish
1 parent c5222b1 commit 2bc0a37Copy full SHA for 2bc0a37
src/fpm/cmd/publish.f90
@@ -65,7 +65,7 @@ subroutine cmd_publish(settings)
65
end do
66
67
tmp_file = get_temp_filename()
68
- call git_archive('.', tmp_file, 'HEAD', settings%verbose, error)
+ call git_archive('.', tmp_file, 'HEAD', additional_files=['fpm_model.json'], verbose=settings%verbose, error=error)
69
if (allocated(error)) call fpm_stop(1, '*cmd_publish* Archive error: '//error%message)
70
call model%dump('fpm_model.json', error, json=.true.)
71
if (allocated(error)) call fpm_stop(1, '*cmd_publish* Model dump error: '//error%message)
0 commit comments