Skip to content

Commit 3a9c9d8

Browse files
committed
GTM-19834: Ignore build-constants in publishing npm package
1 parent 678eb88 commit 3a9c9d8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,10 @@ jobs:
123123
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
124124

125125
- name: Build package
126-
run: pnpm run build
126+
run: |
127+
# Skip tracking changes to build-constants.ts during build
128+
git update-index --skip-worktree src/build-constants.ts
129+
pnpm run build
127130
128131
- name: Publish package
129132
run: |

0 commit comments

Comments
 (0)