mirror of
https://github.com/versia-pub/api.git
synced 2026-03-12 20:09:14 +01:00
fix(build): 🐛 Make CI also change federation package version number
This commit is contained in:
parent
547a9e009e
commit
212398cadd
1 changed files with 1 additions and 1 deletions
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
run: bun run build
|
||||
|
||||
- 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
|
||||
run: bunx @morlay/bunpublish --provenance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue