Skip to content

feat: Add a new database client to store shared state for persistence #25

feat: Add a new database client to store shared state for persistence

feat: Add a new database client to store shared state for persistence #25

Workflow file for this run

name: Build and Upload Artifact
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "Cargo.toml"
jobs:
rutorrent:
uses: thevickypedia/rust-releaser/.github/workflows/entrypoint.yml@main
with:
publish_crate: false
build_linux_arm: false
build_macos_arm: false
build_windows_arm: false
secrets: inherit
release-notes:
needs: rutorrent
if: needs.rutorrent.outputs.release-flag == 'true'
runs-on:
- thevickypedia-default
- posix
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Update release
run: |
git fetch --tags
PREV_TAG=$(git describe --tags --abbrev=0 HEAD^)
echo "::notice title=Previous Release::${PREV_TAG}"
repository="${{ github.server_url }}/${{ github.repository }}"
git log "${PREV_TAG}..HEAD" --pretty=format:"- [%h](${repository}/commit/%H) %s" --no-merges > release_notes.txt
cat release_notes.txt
gh release edit ${{ needs.rutorrent.outputs.release-tag }} \
--repo ${{ github.repository }} \
--notes-file release_notes.txt
env:
GH_TOKEN: ${{ secrets.GIT_TOKEN }}
- name: Update Release Notes
uses: thevickypedia/update-release-notes@v2
with:
git_token: ${{ secrets.GIT_TOKEN }}
commit_message: "chore: Update release notes for ``${{ needs.rutorrent.outputs.release-tag }}``"
filename: release_notes.md