Skip to content
Open
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
1 change: 1 addition & 0 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
id: psr
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build_metadata: "pr-${{ github.event.pull_request.number }}"

# Build and Push to GHCR
# https://pradumnasaraf.dev/blog/publish-image-on-ghcr
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/prerelease_cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: VoloBot Pre-Release Cleanup

on:
workflow_call:
pull_request:
types: [closed]

jobs:
prerelease-cleanup:
runs-on: ubuntu-latest

permissions:
id-token: write
contents: write

steps:
- uses: actions/checkout@v7

- name: Authenticate with GitHub CLI
run: echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token

- name: Remove Pre-Release Tags and Associated Releases
run: |
export suffix=pr-${{ github.event.pull_request.number }}
export repo=${{ github.repository }}

# List all releases
releases=$(gh api repos/$repo/releases --jq '.[] | select(.tag_name | endswith($ENV.suffix)) | .id')

# Delete releases
for release_id in $releases; do
gh api repos/$repo/releases/$release_id -X DELETE
done

# List all tags
tags=$(gh api repos/$repo/git/refs/tags --jq '.[] | select(.ref | endswith($ENV.suffix)) | .ref')

# Delete tags
for tag in $tags; do
gh api repos/$repo/git/$tag -X DELETE
done
53 changes: 52 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,48 @@
# CHANGELOG

<!-- version list -->

## v1.0.0-rc.6+pr-6 (2026-11-01)

### Other

- 💚 ci: add pr number to prerelease tag
([`fb9f29a`](https://github.com/cbates8/VoloBot/commit/fb9f29a63fe9cf2d0778e11fe47401285133e512))

- 💚 ci: add workflow to clean up pre-releases
([`0e9d89f`](https://github.com/cbates8/VoloBot/commit/0e9d89f575c448aaa909d0a93c42cf5d610d773b))

### ⚰️

- ⚰️ dead: remove unused argparse utils
([`e702968`](https://github.com/cbates8/VoloBot/commit/e702968a06627f414b64176885a9f4666c351037))


## v1.0.0-rc.5 (2026-10-30)

### Other

- 💚 ci: add release workflow
([`1ce1707`](https://github.com/cbates8/VoloBot/commit/1ce1707fc7e0b4539ef039ce396f9bb78c220c6d))

- 🔧 config(psr): update changelog config
([`86f0a80`](https://github.com/cbates8/VoloBot/commit/86f0a803a333b81b235f9911d8fc6abf93f9a0ac))

- 🚧 wip: add cog for combat slash commands
([`93522c6`](https://github.com/cbates8/VoloBot/commit/93522c6108f6d0a3e00c06c241abfd227960c3cc))

### ✨

- ✨ feat: combat slash commands
([`82916ac`](https://github.com/cbates8/VoloBot/commit/82916acf524b167e0386eb7a88883eb719b8dd75))

- ✨ feat: use pydantic for combat schema validation
([`8147f8b`](https://github.com/cbates8/VoloBot/commit/8147f8b930b44412eb5666aa10893f0041884319))

### ➕

- ➕ dep-add: pydantic
([`ebc73db`](https://github.com/cbates8/VoloBot/commit/ebc73db540e7f5047f6025ef20b60efc0518ced1))


## v1.0.0-rc.4 (2026-10-26)

Expand All @@ -9,14 +51,23 @@

### Other

- Reapply "🔧 config: tmp rm skip"
([`a5bd37e`](https://github.com/cbates8/VoloBot/commit/a5bd37ea4f462c913509ab4410949d2b7bcf2250))

- Revert "🔧 config: tmp rm skip"
([`2851f73`](https://github.com/cbates8/VoloBot/commit/2851f73d19f32e07ff575d2a3892b93d5bd3fc6e))

- Revert "🩹 fix-simple(inventory): add constants for inventory keys"
([`1ac03d4`](https://github.com/cbates8/VoloBot/commit/1ac03d41544f8edbcb3ac724427f9b0c57940c6b))

- Revert "🩹 fix-simple(inventory): add constants for inventory keys"
([`2d2f206`](https://github.com/cbates8/VoloBot/commit/2d2f206f2f8929802aaac0868e3f16ecb4cdbdec))

### 🩹

- 🩹 fix-simple(inventory): add constants for inventory keys
([`016da81`](https://github.com/cbates8/VoloBot/commit/016da814efd3647185a9d79bf84fc3f5f7e141e3))

- 🩹 fix-simple(inventory): add constants for inventory keys
([`b49cd27`](https://github.com/cbates8/VoloBot/commit/b49cd27e8b5bbf3a8a1b3c21337f31eb5a074138))

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "volobot"
version = "1.0.0-rc.4"
version = "1.0.0-rc.6+pr-6"
description = "A D&D Discord bot"
readme = "README.md"
authors = [
Expand All @@ -12,6 +12,7 @@ dependencies = [
"aiofiles>=25.1.0",
"beautifulsoup4>=4.14.3",
"discord-py>=2.6.4",
"pydantic>=2.13.5",
]

[dependency-groups]
Expand Down
2 changes: 1 addition & 1 deletion src/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.0-rc.4"
__version__ = "1.0.0-rc.6+pr-6"
Loading