Skip to content

Commit dfdbd9a

Browse files
author
phantomcortex
committed
are we out of the woods, i say are we out of the woods
1 parent d856f50 commit dfdbd9a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/build-rpm.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
if [ -d "kora" ]; then
4646
cp -r kora kora-icon-theme-${{ steps.version.outputs.VERSION }}/
4747
fi
48-
4948
# Copy MIME types
5049
if [ -d "mime" ]; then
5150
cp -r mime kora-icon-theme-${{ steps.version.outputs.VERSION }}/
@@ -66,10 +65,18 @@ jobs:
6665
6766
- name: Build RPM
6867
run: |
68+
# Debug: Show what files we have
69+
echo "=== Available source files ==="
70+
ls -la ~/rpmbuild/SOURCES/
71+
echo "=== Version being used ==="
72+
echo "VERSION: ${{ steps.version.outputs.VERSION }}"
73+
6974
cd ~/rpmbuild/SPECS
75+
# Ensure we use the exact same version for both tarball and RPM build
7076
rpmbuild -ba kora-icon-theme.spec \
7177
--define "version ${{ steps.version.outputs.VERSION }}" \
72-
--define "_topdir $HOME/rpmbuild"
78+
--define "_topdir $HOME/rpmbuild" \
79+
--define "_sourcedir $HOME/rpmbuild/SOURCES"
7380
7481
- name: Upload RPM artifacts
7582
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)