diff --git a/README.md b/README.md index 85d36d5..f642154 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,16 @@ -# Release Please Action +# [DEPRECATED] Release Please Action - please use https://github.com/googleapis/release-please-action [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org) Automate releases with Conventional Commit Messages. +## Migration + +> Development has moved to https://github.com/googleapis/release-please-action. This repository remains +here to support legacy references to google-github-actions/release-please-action. + +In your GitHub actions workflow, please change `google-github-actions/release-please-action` to `googleapis/release-please-action`. + ## Basic Configuration 1. Create a `.github/workflows/release-please.yml` file with these contents: diff --git a/src/index.ts b/src/index.ts index 3e82f8f..86c1e0e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,7 +13,13 @@ // limitations under the License. import * as core from '@actions/core'; -import {GitHub, Manifest, CreatedRelease, PullRequest, VERSION} from 'release-please'; +import { + GitHub, + Manifest, + CreatedRelease, + PullRequest, + VERSION, +} from 'release-please'; const DEFAULT_CONFIG_FILE = 'release-please-config.json'; const DEFAULT_MANIFEST_FILE = '.release-please-manifest.json'; @@ -115,7 +121,10 @@ function loadOrBuildManifest( } export async function main() { - core.info(`Running release-please version: ${VERSION}`) + core.warning( + 'google-github-actions/release-please-action is deprecated, please use googleapis/release-please-action instead.' + ); + core.info(`Running release-please version: ${VERSION}`); const inputs = parseInputs(); const github = await getGitHubInstance(inputs); @@ -207,6 +216,6 @@ function outputPRs(prs: (PullRequest | undefined)[]) { if (require.main === module) { main().catch(err => { - core.setFailed(`release-please failed: ${err.message}`) - }) + core.setFailed(`release-please failed: ${err.message}`); + }); }