Skip to content

Commit 388984b

Browse files
authored
Merge pull request #509 from sadsfae/master
chore: fix COPR workflows
2 parents ac57ae7 + 164f97b commit 388984b

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

.github/workflows/production-release.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,20 +77,25 @@ jobs:
7777
echo "$API_TOKEN_CONTENT" > "$HOME/.config/copr"
7878
7979
- name: Sync Spec Version and Build
80-
env:
81-
RELEASE_VERSION: ${{ needs.release.outputs.version }}
8280
run: |
8381
cd rpm
84-
sed -i "s/^Version:.*/Version: ${RELEASE_VERSION}/" python3-badfish.spec
82+
83+
# 1. Build the SRPM
8584
make srpm
85+
86+
# 2. Find the SRPM file (handles cases where it is in ./ or subdirs)
8687
SRPM_FILE=$(find . -name "*.src.rpm" -type f | head -n 1)
88+
8789
if [ -z "$SRPM_FILE" ]; then
88-
echo "Error: No .src.rpm file found in $(pwd) or subdirectories."
89-
echo "Ensure your Makefile outputs the SRPM locally or defines _topdir."
90-
exit 1
90+
echo "Error: No .src.rpm file found after running 'make srpm'"
91+
exit 1
9192
fi
93+
9294
echo "Found SRPM: $SRPM_FILE"
95+
96+
# 3. Submit to COPR
9397
copr build quadsdev/badfish "$SRPM_FILE"
98+
9499
# ------------------------------------------------------------------
95100
# JOB 3: QUAY PUBLISH (Master & Latest)
96101
# ------------------------------------------------------------------

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# CHANGELOG
22

33

4+
## v1.2.1 (2026-02-03)
5+
6+
### Bug Fixes
7+
8+
- Production-release srpm generation
9+
([`f859e1e`](https://github.com/sadsfae/badfish/commit/f859e1ecc79ec1d50b7c56de2a8a3ac7b3936774))
10+
11+
### Chores
12+
13+
- Fix COPR workflows
14+
([`ec45870`](https://github.com/sadsfae/badfish/commit/ec4587092b619f75083701cc3e8cbc0eefff111f))
15+
16+
417
## v1.2.0 (2026-02-03)
518

619
### Features

src/badfish/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.2.0"
1+
__version__ = "1.2.1"

0 commit comments

Comments
 (0)