Skip to content

Commit dd4fb2e

Browse files
committed
workflow: fix release script
1 parent bac0373 commit dd4fb2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const release = async () => {
118118
'npm',
119119
[
120120
'publish',
121-
'--dist-tag',
121+
'--tag',
122122
distTag,
123123
// must specify registry url: https://github.com/lerna/lerna/issues/896#issuecomment-311894609
124124
'--registry',

scripts/verifyCommitMsg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const chalk = require('chalk') // eslint-disable-line
22
const msgPath = process.env.GIT_PARAMS
33
const msg = require('fs').readFileSync(msgPath, 'utf-8').trim()
44

5-
const commitRE = /^(v\d+\.\d+\.\d+(-(alpha|beta|rc.\d+))?$)|((revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|ci|chore|types)(\(.+\))?!?: .{1,50})/
5+
const commitRE = /^(v\d+\.\d+\.\d+(-(alpha|beta|rc.\d+))?)|((revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|ci|chore|types)(\(.+\))?!?: .{1,50})/
66

77
if (!commitRE.test(msg)) {
88
console.log()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy