Skip to content

chore: release packages #219

chore: release packages

chore: release packages #219

Workflow file for this run

name: Update release PR or publish GitHub release
on:
push:
branches:
- master
concurrency: commits-to-master
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Update release pull request or publish
id: changesets
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit: 'chore: release packages'
# The following scripts temporarily add the workspaces key to the package.json
# They are removed after the changeset command is run and before the changesets
# pull request gets updated.
# This is necessary because changesets requires workspaces to find projects but
# we otherwise want to manage the projects in this repo independently.
publish: bun run release
version: bun run version
- name: Publish electron apps
# if a release was published, publish the electron apps
if: steps.changesets.outputs.published == 'true'
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: siafoundation/desktop
event-type: publish