Skip to content

Commit a042569

Browse files
fix: force publish
1 parent b224b70 commit a042569

3 files changed

Lines changed: 5 additions & 15 deletions

File tree

‎lerna.json‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
"stream": false
99
},
1010
"publish": {
11-
"allowBranch": [
12-
"develop",
13-
"master"
14-
],
1511
"conventionalCommits": true,
1612
"ignoreChanges": [
1713
"*.md",
@@ -22,10 +18,6 @@
2218
"yes": true
2319
},
2420
"version": {
25-
"allowBranch": [
26-
"develop",
27-
"master"
28-
],
2921
"conventionalCommits": true,
3022
"ignoreChanges": [
3123
"*.md",
@@ -40,4 +32,4 @@
4032
"binaries/*"
4133
],
4234
"version": "independent"
43-
}
35+
}

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@
7676
"release": "./publish release",
7777
"canary": "./publish canary"
7878
}
79-
}
79+
}

‎publish‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,14 @@ echo $(git diff package.json)
77
git checkout package.json
88
git status
99

10-
export DEBUG=*
11-
1210
case $MODE in
1311
"canary")
14-
${LERNA} publish --canary --conventional-commits --yes
12+
${LERNA} publish --canary
1513
;;
1614
"release")
17-
${LERNA} publish --conventional-commits --create-release gitlab --dist-tag latest --yes
15+
${LERNA} publish from-package --create-release gitlab --dist-tag latest
1816
;;
1917
"prerelease")
20-
${LERNA} publish -c --conventional-commits --dist-tag next --preid next --yes
18+
${LERNA} publish --dist-tag next --preid next
2119
;;
2220
esac

0 commit comments

Comments
 (0)