fpm_cmd_publish Module

Upload a package to the registry using the publish command.

To upload a package you need to provide a token that will be linked to your username and created for a namespace. The token can be obtained from the registry website. It can be used as fpm publish --token <token>.



Subroutines

public subroutine cmd_publish(settings)

The publish command first builds the root package to obtain all the relevant information such as the package version. It then creates a tarball of the package and uploads it to the registry. Checks before uploading the package.

Arguments

Type IntentOptional Attributes Name
type(fpm_publish_settings), intent(inout) :: settings