mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-18 09:52:35 +00:00
chore: apply suggestions from code review
This commit is contained in:
parent
a1ef4a2ca7
commit
0366c7cd1c
2 changed files with 2 additions and 3 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -34,8 +34,8 @@ jobs:
|
||||||
fi
|
fi
|
||||||
NEXT_VERSION="${BASH_REMATCH[1]}.${BASH_REMATCH[2]}.${BASH_REMATCH[3]}"
|
NEXT_VERSION="${BASH_REMATCH[1]}.${BASH_REMATCH[2]}.${BASH_REMATCH[3]}"
|
||||||
MAJOR_VERSION="${BASH_REMATCH[1]}"
|
MAJOR_VERSION="${BASH_REMATCH[1]}"
|
||||||
"::set-env name=NEXT_VERSION::${NEXT_VERSION}"
|
echo "::set-env name=NEXT_VERSION::${NEXT_VERSION}"
|
||||||
"::set-env name=MAJOR_VERSION::${MAJOR_VERSION}"
|
echo "::set-env name=MAJOR_VERSION::${MAJOR_VERSION}"
|
||||||
npm version ${NEXT_VERSION} -m "chore(release): ${NEXT_VERSION}"
|
npm version ${NEXT_VERSION} -m "chore(release): ${NEXT_VERSION}"
|
||||||
git tag "v${MAJOR_VERSION}"
|
git tag "v${MAJOR_VERSION}"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
singleQuote: true,
|
singleQuote: true,
|
||||||
trailingComma: 'es5',
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue