mirror of
https://github.com/andwati/kget-capture.git
synced 2026-10-18 03:02:56 +00:00
Trim intro fluff, add per-distro dependency install commands, and make the Chrome Web Store the primary extension install path with unpacked install demoted to a dev-only section. Also switch the release workflow to archive the whole repo instead of just extension/, since install.sh and native-host/ are now what the README points users at downloading.
30 lines
788 B
YAML
30 lines
788 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*.*.*"
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Package source
|
|
# Users need the whole repo (install.sh, native-host/, keys/), not
|
|
# just extension/ -- the extension itself now ships via the Chrome
|
|
# Web Store. git archive only includes tracked files, so the
|
|
# gitignored private key (never committed) can't end up in it.
|
|
run: git archive --format=zip -o "kget-capture-${GITHUB_REF_NAME}.zip" HEAD
|
|
|
|
- name: Create release
|
|
uses: softprops/action-gh-release@v2
|
|
with:
|
|
files: kget-capture-${{ github.ref_name }}.zip
|
|
generate_release_notes: true
|