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
17 changes: 11 additions & 6 deletions .github/workflows/production-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,20 +77,25 @@ jobs:
echo "$API_TOKEN_CONTENT" > "$HOME/.config/copr"

- name: Sync Spec Version and Build
env:
RELEASE_VERSION: ${{ needs.release.outputs.version }}
run: |
cd rpm
sed -i "s/^Version:.*/Version: ${RELEASE_VERSION}/" python3-badfish.spec

# 1. Build the SRPM
make srpm

# 2. Find the SRPM file (handles cases where it is in ./ or subdirs)
SRPM_FILE=$(find . -name "*.src.rpm" -type f | head -n 1)

if [ -z "$SRPM_FILE" ]; then
echo "Error: No .src.rpm file found in $(pwd) or subdirectories."
echo "Ensure your Makefile outputs the SRPM locally or defines _topdir."
exit 1
echo "Error: No .src.rpm file found after running 'make srpm'"
exit 1
fi

echo "Found SRPM: $SRPM_FILE"

# 3. Submit to COPR
copr build quadsdev/badfish "$SRPM_FILE"

# ------------------------------------------------------------------
# JOB 3: QUAY PUBLISH (Master & Latest)
# ------------------------------------------------------------------
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# CHANGELOG


## v1.2.1 (2026-02-03)

### Bug Fixes

- Production-release srpm generation
([`f859e1e`](https://github.com/sadsfae/badfish/commit/f859e1ecc79ec1d50b7c56de2a8a3ac7b3936774))

### Chores

- Fix COPR workflows
([`ec45870`](https://github.com/sadsfae/badfish/commit/ec4587092b619f75083701cc3e8cbc0eefff111f))


## v1.2.0 (2026-02-03)

### Features
Expand Down
2 changes: 1 addition & 1 deletion src/badfish/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.2.0"
__version__ = "1.2.1"