Skip to content
Merged
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
11 changes: 7 additions & 4 deletions .github/workflows/release-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ jobs:
name: macOS universal
needs: version
runs-on: macos-15-xlarge
environment: release
environment:
name: ${{ github.repository == 'Brent001/effectcraft' && github.ref == 'refs/heads/release/community-downloads' && 'community-release' || 'release' }}
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
Expand Down Expand Up @@ -370,7 +371,8 @@ jobs:
name: Windows ${{ matrix.arch }}
needs: [version, target_selection]
runs-on: windows-latest
environment: release
environment:
name: ${{ github.repository == 'Brent001/effectcraft' && github.ref == 'refs/heads/release/community-downloads' && 'community-release' || 'release' }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -1145,7 +1147,8 @@ jobs:
(inputs.has-flatpak-x86_64 && inputs.has-linux-x86_64) || (inputs.has-flatpak-aarch64 && inputs.has-linux-aarch64))
needs: [version, target_selection, macos, windows, linux, linux-riscv64, flatpak, arch, freebsd, web, server]
runs-on: ubuntu-latest
environment: release
environment:
name: ${{ github.repository == 'Brent001/effectcraft' && github.ref == 'refs/heads/release/community-downloads' && 'community-release' || 'release' }}
permissions:
contents: write
steps:
Expand All @@ -1158,7 +1161,7 @@ jobs:
# Fork release jobs should publish only after every requested build has succeeded.
# The upstream repo retains its manual draft review/publish process.
- name: Publish community release
if: github.repository == 'Brent001/effectcraft'
if: github.repository == 'Brent001/effectcraft' && github.ref == 'refs/heads/release/community-downloads'
shell: bash
env:
VERSION: ${{ needs.version.outputs.version }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Release

on:
push:
branches: [release]
branches:
- release
- release/community-downloads
workflow_dispatch:
inputs:
version:
Expand Down
7 changes: 4 additions & 3 deletions docs/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

Every push to the `release` branch runs [`.github/workflows/release.yml`](../.github/workflows/release.yml).

In the `Brent001/effectcraft` fork, the first community release is version `0.13.1` and builds
Windows x64, Linux x86_64 and Web assets. After all selected build jobs succeed, it publishes
the GitHub Release automatically so the assets are publicly downloadable. The Windows installer
In the `Brent001/effectcraft` fork, pushing the dedicated `release/community-downloads` branch
runs the first community release at version `0.13.1` and builds Windows x64, Linux x86_64 and Web
assets. After all selected build jobs succeed, it publishes the GitHub Release automatically so
the assets are publicly downloadable. The Windows installer
may be unsigned when code-signing credentials are unavailable; the release notes disclose this,
and the release includes `SHA256SUMS.txt`.

Expand Down
Loading