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
22 changes: 22 additions & 0 deletions .github/workflows/source-tarball.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Create Source tarball

on:
push:
branches:
- master

jobs:
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Create versioned tarball
run: |
cd rpm && make tarball

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: source-tarball
path: python3-badfish-*.tar.gz
2 changes: 2 additions & 0 deletions rpm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ TARBALL = python3-badfish-$(VERSION).tar.gz

all: python3-badfish.spec python3-badfish-$(VERSION).tar.gz

tarball: $(TARBALL)

.PHONY: $(TARBALL)
$(TARBALL):
rm -f $(TARBALL)
Expand Down
5 changes: 4 additions & 1 deletion rpm/python3-badfish.spec.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Version: @VERSION@
Release: @RELEASE@%{?dist}
Summary: %{sum}

License: GPLv3
License: GPL-3.0-or-later and MIT
URL: https://github.com/%{org}/%{project}
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz

Expand Down Expand Up @@ -44,3 +44,6 @@ BuildRequires: zlib-devel
%changelog
* @DATE@ Gonzalo Rafuls <gonza@redhat.com> - @VERSION@-@RELEASE@
- built from upstream, changelog ignored

%check
%{__python3} -m tox
Loading