Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .changeset/config.json

This file was deleted.

13 changes: 7 additions & 6 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,14 @@ jobs:
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}

- name: get version name
# gradle.properties holds the last release; snapshots are the next patch.
- name: get snapshot version
if: github.event_name == 'push'
run: echo "::set-output name=version_name::$(cat gradle.properties | grep VERSION_NAME | cut -d "=" -f2)"
id: version_name
run: echo "version=$(bash ./ci/increment_semver.sh -p "$(sed -n 's/^VERSION_NAME=//p' gradle.properties)")-SNAPSHOT" >> "$GITHUB_OUTPUT"
id: snapshot

- name: Create gpg key and import into gradle properties
if: github.event_name == 'push' && contains(steps.version_name.outputs.version_name,'SNAPSHOT')
if: github.event_name == 'push'
run: |
echo $GPG_KEY_ARMOR | base64 --decode > ./release.asc
gpg --quiet --output $GITHUB_WORKSPACE/release.gpg --dearmor ./release.asc
Expand All @@ -187,8 +188,8 @@ jobs:
PROFILE_ID: ${{ secrets.STAGING_PROFILE_ID }}

- name: Publish snapshot
if: github.event_name == 'push' && contains(steps.version_name.outputs.version_name,'SNAPSHOT')
run: ./gradlew publishReleasePublicationToMavenRepository
if: github.event_name == 'push'
run: ./gradlew publishReleasePublicationToMavenRepository -PVERSION_NAME=${{ steps.snapshot.outputs.version }}

# Setting up diffuse artifacts
- name: Setup cache for base source file for diffuse
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/changeset-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Fails a PR that changes the SDK without a changeset, with a comment that
# links to a prefilled changeset file. The `internal` label skips the check.
name: Changeset check

on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
branches: [main]

permissions:
contents: read
pull-requests: write

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: livekit/verwalter@9da894a1e4f7d298095a961be60c818afd47905b # v0.32.0-rc.1
with:
command: check
183 changes: 0 additions & 183 deletions .github/workflows/changesets.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Keeps one release PR open while changesets are pending. Runs on every
# push to main and regenerates the release branch from main.
name: Release PR

on:
push:
branches: [main]

permissions:
contents: write
pull-requests: write

concurrency:
group: release-pr
cancel-in-progress: true

jobs:
pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0 # the commit that added a changeset gives its changelog line the PR and author
- uses: livekit/verwalter@9da894a1e4f7d298095a961be60c818afd47905b # v0.32.0-rc.1
with:
command: pr
# The App token lets the release PR trigger CI; github.token does not.
app-client-id: ${{ secrets.VERWALTER_RELEASE_CLIENT_ID }}
app-private-key: ${{ secrets.VERWALTER_RELEASE_APP_KEY }}
Loading
Loading