Skip to content

Commit

Permalink
add model build internal
Browse files Browse the repository at this point in the history
  • Loading branch information
henilp105 committed Feb 25, 2024
1 parent 8297433 commit cae8e97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fpm/cmd/publish.f90
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ subroutine cmd_publish(settings)
tmp_file = get_temp_filename()
call git_archive('.', tmp_file, 'HEAD', settings%verbose, error)
if (allocated(error)) call fpm_stop(1, '*cmd_publish* Archive error: '//error%message)
call model%dump('fpm_model.json', error, json=.true.)
if (allocated(error)) call fpm_stop(1, '*cmd_publish* Model dump error: '//error%message)

upload_data = [ &
& string_t('package_name="'//package%name//'"'), &
Expand Down

0 comments on commit cae8e97

Please sign in to comment.