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
16 changes: 0 additions & 16 deletions .github/workflows/release-please.yml

This file was deleted.

24 changes: 19 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,38 @@
name: Package and Release
name: Release

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
branches:
- master

permissions:
contents: write
pull-requests: write

jobs:
release:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
steps:
- uses: googleapis/release-please-action@v4
id: release

package:
needs: release-please
if: ${{ needs.release-please.outputs.release_created == 'true' }}
runs-on: ubuntu-latest
env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }}
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }}
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: Clone project
uses: actions/checkout@v4
with:
ref: ${{ needs.release-please.outputs.tag_name }}
fetch-depth: 0

- name: Package and release
Expand Down
3 changes: 1 addition & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ RaidLogAuto/
├── .pkgmeta # Packaging metadata
├── .github/workflows/
│ ├── lint.yml # Luacheck CI on PRs and master
│ ├── release.yml # Auto-packaging on tag push
│ └── release-please.yml # Automated versioning and changelog
│ └── release.yml # Release-please + auto-packaging
```

### Version-Specific Files
Expand Down