UNPKG

semantic-release-pypi

Version:

semantic-release plugin to publish a python package to PyPI

7 lines (6 loc) 479 B
import { Options, ResultPromise } from 'execa'; import type { Context } from './@types/semantic-release/index.js'; import { PluginConfig } from './types.js'; declare function publishPackage(srcDir: string, distDir: string, repoUrl: string, repoUsername: string, repoToken: string, gpgSign: boolean, gpgIdentity?: string, options?: Options): ResultPromise; declare function publish(pluginConfig: PluginConfig, context: Context): Promise<void>; export { publish, publishPackage };