fix(build): 🐛 Make CI also change federation package version number

This commit is contained in:
Jesse Wierzbinski 2024-05-13 21:52:02 -10:00
parent 547a9e009e
commit 212398cadd
No known key found for this signature in database

View file

@ -31,7 +31,7 @@ jobs:
run: bun run build run: bun run build
- name: Change version in package.json to ${{ github.event.inputs.version }}, defaulting to the truncated commit hash - name: Change version in package.json to ${{ github.event.inputs.version }}, defaulting to the truncated commit hash
run: 'sed -i ''s/"version": ".*"/"version": "${{ github.event.inputs.version }}"/'' package.json' run: 'sed -i ''s/"version": ".*"/"version": "${{ github.event.inputs.version }}"/'' package.json federation/package.json'
- name: Publish to NPM - name: Publish to NPM
run: bunx @morlay/bunpublish --provenance run: bunx @morlay/bunpublish --provenance