We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07c4ae5 commit b8c125cCopy full SHA for b8c125c
docs/scripts/bower-release-build.js
@@ -20,7 +20,7 @@ module.exports = function buildBowerRelease(version) {
20
const isExistVersion = logs.includes(version)
21
if (!isExistVersion) {
22
try {
23
- execSync(`git add -A && git commit --allow-empty -m ${(version && version.slice(1)) || 'Update bower files'} && git tag ${version} && git push origin --tags`, bowerDirOptions)
+ execSync(`git add -A && git commit --allow-empty -m ${(version) || 'Update bower files'} && git tag ${version} && git push origin --tags`, bowerDirOptions)
24
} catch (err) {
25
console.error(err)
26
}
0 commit comments