mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2025-11-07 10:46:56 +00:00
refactor: rename handle repository url option function
This commit is contained in:
parent
a4cbd6ce38
commit
f7e54f1047
2 changed files with 3 additions and 3 deletions
|
|
@ -121,7 +121,7 @@ exports.handleTagFormat = () => {
|
||||||
* Handle repository-url Option
|
* Handle repository-url Option
|
||||||
* @returns {{}|{r: String}}
|
* @returns {{}|{r: String}}
|
||||||
*/
|
*/
|
||||||
exports.handleRepositoryOption = () => {
|
exports.handleRepositoryUrlOption = () => {
|
||||||
const repositoryUrl = core.getInput(inputs.repository_url);
|
const repositoryUrl = core.getInput(inputs.repository_url);
|
||||||
core.debug(`repository_url input: ${repositoryUrl}`);
|
core.debug(`repository_url input: ${repositoryUrl}`);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { handleRepositoryOption } from './handleOptions';
|
import { handleRepositoryUrlOption } from './handleOptions';
|
||||||
|
|
||||||
const core = require('@actions/core');
|
const core = require('@actions/core');
|
||||||
const {
|
const {
|
||||||
|
|
@ -35,7 +35,7 @@ const release = async () => {
|
||||||
...handleCiOption(),
|
...handleCiOption(),
|
||||||
...handleExtends(),
|
...handleExtends(),
|
||||||
...handleTagFormat(),
|
...handleTagFormat(),
|
||||||
...handleRepositoryOption()
|
...handleRepositoryUrlOption()
|
||||||
});
|
});
|
||||||
|
|
||||||
await cleanupNpmrc();
|
await cleanupNpmrc();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue