mirror of
https://github.com/versia-pub/api.git
synced 2025-12-06 08:28:19 +01:00
fix(build): 🐛 Make CI also change federation package version number
This commit is contained in:
parent
547a9e009e
commit
212398cadd
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue