Skip to content

Commit cfa3155

Browse files
committed
CI: add sign step and guard replace-since to main
1 parent 88d47bf commit cfa3155

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.circleci/config.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,18 @@ jobs:
9191
git config user.name "GravityKit - CI"
9292
- run:
9393
name: Replace @since tags
94-
command: npx @gravitykit/gktools replace-since --commit
94+
command: |
95+
if [ "${CIRCLE_BRANCH}" == "main" ]; then
96+
npx @gravitykit/gktools replace-since --commit
97+
else
98+
echo "Skipping @since tag replacement (only runs on main, before release build)."
99+
fi
95100
- run:
96101
name: Build and package
97102
command: npx @gravitykit/gktools build
103+
- run:
104+
name: Sign build
105+
command: npx @gravitykit/gktools sign
98106
- run:
99107
name: Trigger translation pipeline
100108
command: |

0 commit comments

Comments
 (0)