Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: detecte git_push_create_all_pipelines feature flag correctly
  • Loading branch information
JounQin committed Apr 8, 2025
commit ef394ae74bda74d5eac8a00b7de23d2a1adaf5f1
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"bin": "lib/cli.js",
"main": "./lib/index.cjs",
"types": "./lib/index.d.ts",
"module": "./lib/index.js",
"exports": {
".": {
Expand All @@ -30,7 +31,6 @@
},
"./package.json": "./package.json"
},
"types": "./lib/index.d.ts",
"files": [
"index.d.cts",
"lib"
Expand Down Expand Up @@ -88,17 +88,17 @@
"yaml": "^2.7.1"
},
"devDependencies": {
"@1stg/common-config": "^11.1.2",
"@1stg/common-config": "^12.0.0",
"@changesets/changelog-github": "^0.5.1",
"@changesets/cli": "^2.28.1",
"@commitlint/cli": "^19.8.0",
"@pkgr/rollup": "^6.0.1",
"@pkgr/rollup": "^6.0.2",
"@types/global-agent": "^3.0.0",
"@types/micromatch": "^4.0.9",
"@types/web": "^0.0.216",
"@vitest/coverage-istanbul": "3.1.1",
"clean-pkg-json": "^1.2.1",
"eslint": "^9.23.0",
"eslint": "^9.24.0",
"lint-staged": "^15.5.0",
"npm-run-all2": "^7.0.2",
"prettier": "^3.5.3",
Expand All @@ -107,7 +107,7 @@
"size-limit-preset-node-lib": "^0.3.0",
"tsx": "^4.19.3",
"type-coverage": "^2.29.7",
"typescript": "^5.8.2",
"typescript": "^5.8.3",
"vitest": "^3.1.1",
"yarn-berry-deduplicate": "^6.1.1",
"yarn-deduplicate": "^6.0.2"
Expand Down
4 changes: 3 additions & 1 deletion src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ export async function runPublish({
(await api.FeatureFlags.show(
context.projectId,
'git_push_create_all_pipelines',
).catch(() => false))
)
.then(({ active }) => active)
.catch(() => false))

if (pushAllTags) {
await gitUtils.pushTags()
Expand Down
Loading
Loading