Skip to content

Commit ef394ae

Browse files
committed
fix: detecte git_push_create_all_pipelines feature flag correctly
1 parent 9d3b7d9 commit ef394ae

File tree

3 files changed

+418
-414
lines changed

3 files changed

+418
-414
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
},
1313
"bin": "lib/cli.js",
1414
"main": "./lib/index.cjs",
15+
"types": "./lib/index.d.ts",
1516
"module": "./lib/index.js",
1617
"exports": {
1718
".": {
@@ -30,7 +31,6 @@
3031
},
3132
"./package.json": "./package.json"
3233
},
33-
"types": "./lib/index.d.ts",
3434
"files": [
3535
"index.d.cts",
3636
"lib"
@@ -88,17 +88,17 @@
8888
"yaml": "^2.7.1"
8989
},
9090
"devDependencies": {
91-
"@1stg/common-config": "^11.1.2",
91+
"@1stg/common-config": "^12.0.0",
9292
"@changesets/changelog-github": "^0.5.1",
9393
"@changesets/cli": "^2.28.1",
9494
"@commitlint/cli": "^19.8.0",
95-
"@pkgr/rollup": "^6.0.1",
95+
"@pkgr/rollup": "^6.0.2",
9696
"@types/global-agent": "^3.0.0",
9797
"@types/micromatch": "^4.0.9",
9898
"@types/web": "^0.0.216",
9999
"@vitest/coverage-istanbul": "3.1.1",
100100
"clean-pkg-json": "^1.2.1",
101-
"eslint": "^9.23.0",
101+
"eslint": "^9.24.0",
102102
"lint-staged": "^15.5.0",
103103
"npm-run-all2": "^7.0.2",
104104
"prettier": "^3.5.3",
@@ -107,7 +107,7 @@
107107
"size-limit-preset-node-lib": "^0.3.0",
108108
"tsx": "^4.19.3",
109109
"type-coverage": "^2.29.7",
110-
"typescript": "^5.8.2",
110+
"typescript": "^5.8.3",
111111
"vitest": "^3.1.1",
112112
"yarn-berry-deduplicate": "^6.1.1",
113113
"yarn-deduplicate": "^6.0.2"

src/run.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ export async function runPublish({
9898
(await api.FeatureFlags.show(
9999
context.projectId,
100100
'git_push_create_all_pipelines',
101-
).catch(() => false))
101+
)
102+
.then(({ active }) => active)
103+
.catch(() => false))
102104

103105
if (pushAllTags) {
104106
await gitUtils.pushTags()

0 commit comments

Comments
 (0)