Skip to content

Commit 24547c8

Browse files
authored
Merge pull request #49 from garoon/GTM-19834_fix_release_workflow
GTM-19834: Ignore build-constants in publishing npm package
2 parents 678eb88 + 3a9c9d8 commit 24547c8

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)