diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-04-23 16:16:09 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-04-23 16:16:09 -0500 |
| commit | f62230ff43e517996b2717002b326d0c97b70a61 (patch) | |
| tree | 0052e11df6f730d09440e95469d1eebcc0b29925 /.github | |
| parent | 96a6ba196c72e955c3db822d93da38fce8cd7045 (diff) | |
Drop stable release step from CI
Stable releases are cut manually against a tag (see CHANGELOG.md).
CI only publishes the rolling `beta` release now, so the always-skipped
Publish stable release step and the `v*` tag trigger were just noise in
the job graph.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 39 |
1 files changed, 6 insertions, 33 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a5f551..373f663 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,6 @@ name: CI on: push: branches: [main] - tags: ['v*'] pull_request: workflow_dispatch: @@ -46,16 +45,13 @@ jobs: restore-keys: | ccache-${{ runner.os }}- - - name: Determine build channel + - name: Determine build metadata id: channel run: | - if [[ "${GITHUB_REF}" == refs/tags/v* ]]; then - echo "channel=stable" >> "$GITHUB_OUTPUT" - echo "timestamp=" >> "$GITHUB_OUTPUT" - else - echo "channel=beta" >> "$GITHUB_OUTPUT" - echo "timestamp=$(date -u +%Y%m%d%H%M)" >> "$GITHUB_OUTPUT" - fi + # CI only publishes beta rolling builds. Stable releases are cut + # manually against a tag — see CHANGELOG.md for the process. + echo "channel=beta" >> "$GITHUB_OUTPUT" + echo "timestamp=$(date -u +%Y%m%d%H%M)" >> "$GITHUB_OUTPUT" echo "commit=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT" - name: Build inside container @@ -80,11 +76,7 @@ jobs: - name: Package tarball run: | cd build - if [[ "${{ steps.channel.outputs.channel }}" == "beta" ]]; then - ARCHIVE_NAME="fluorine-manager-beta.tar.gz" - else - ARCHIVE_NAME="fluorine-manager-${GITHUB_REF_NAME}.tar.gz" - fi + ARCHIVE_NAME="fluorine-manager-beta.tar.gz" tar czf "${ARCHIVE_NAME}" fluorine-manager/ echo "archive=${ARCHIVE_NAME}" >> "$GITHUB_ENV" echo "archive_path=build/${ARCHIVE_NAME}" >> "$GITHUB_ENV" @@ -153,25 +145,6 @@ jobs: --prerelease fi - # ------------------------------------------------------------------- - # Stable release: triggered by pushing a v* tag. Uploads the tagged - # archive as a normal (non-prerelease) GitHub release. - # ------------------------------------------------------------------- - - name: Publish stable release - if: startsWith(github.ref, 'refs/tags/v') - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_REPO: ${{ github.repository }} - run: | - TAG="${GITHUB_REF_NAME}" - if gh release view "${TAG}" >/dev/null 2>&1; then - gh release upload "${TAG}" "${archive_path}" --clobber - else - gh release create "${TAG}" "${archive_path}" \ - --title "Fluorine Manager ${TAG}" \ - --generate-notes - fi - build-nixos-mobase: runs-on: ubuntu-latest steps: |
