mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 02:18:50 +00:00
The current Git tag for releases of the Apple client is out-of-line with the naming of rest of the repository. Ideally, the tag would be renamed to `apple-client-X.Y.Z` as it represents the version for both the macOS and iOS client. I am not familiar with the redirect system on our website to confidentially do this without breaking anything, so the easiest fix here is to employ the same hack we already do for Sentry where we special-case the `macos-client` tag. Resolves: #9871
40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
name: Create Sentry releases
|
|
run-name: Triggered by ${{ github.actor }}
|
|
on:
|
|
release:
|
|
types:
|
|
- published
|
|
|
|
concurrency:
|
|
group: "publish-production-${{ github.event_name }}-${{ github.workflow }}-${{ github.ref }}"
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
create_sentry_release:
|
|
name: create_${{ matrix.component }}_sentry_release
|
|
runs-on: ubuntu-22.04-xlarge
|
|
strategy:
|
|
matrix:
|
|
# TODO: This hack is needed because the macOS client isn't tagged as `apple-client`.
|
|
include:
|
|
- component: gateway
|
|
projects: gateway
|
|
- component: gui-client
|
|
projects: gui-client
|
|
- component: headless-client
|
|
projects: headless-client
|
|
- component: macos-client
|
|
projects: apple-client
|
|
- component: android-client
|
|
projects: android-client
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: ./.github/actions/create-sentry-release
|
|
if: ${{ startsWith(github.event.release.name, matrix.component) }}
|
|
with:
|
|
component: ${{ matrix.component }}
|
|
projects: ${{ matrix.projects }}
|
|
sentry_token: ${{ secrets.SENTRY_AUTH_TOKEN }}
|