How to use new-github-release-url - 1 common examples

To help you get started, we’ve selected a few new-github-release-url examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pikapkg / pack / src / util / publish / release.ts View on Github external
export async function release(options) {
	const tag = await getTagVersionPrefix(options) + options.version;
	const url = newGithubReleaseUrl({
		repoUrl: options.repoUrl,
		tag,
		body: options.releaseNotes(tag),
		isPrerelease: version.isPrereleaseVersion(options.version)
	});

	opn(url, {wait: false});
};

new-github-release-url

Generate a URL for opening a new GitHub release with prefilled tag, body, and other fields

MIT
Latest version published 3 years ago

Package Health Score

56 / 100
Full package analysis

Popular new-github-release-url functions