File tree Expand file tree Collapse file tree 3 files changed +28
-1
lines changed
Expand file tree Collapse file tree 3 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Create Source tarball
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ package :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+
14+ - name : Create versioned tarball
15+ run : |
16+ cd rpm && make tarball
17+
18+ - name : Upload artifact
19+ uses : actions/upload-artifact@v3
20+ with :
21+ name : source-tarball
22+ path : python3-badfish-*.tar.gz
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ TARBALL = python3-badfish-$(VERSION).tar.gz
88
99all : python3-badfish.spec python3-badfish-$(VERSION ) .tar.gz
1010
11+ tarball : $(TARBALL )
12+
1113.PHONY : $(TARBALL )
1214$(TARBALL ) :
1315 rm -f $(TARBALL )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Version: @VERSION@
1212Release: @RELEASE@%{ ?dist}
1313Summary: %{ sum}
1414
15- License: GPLv3
15+ License: GPL-3.0-or-later and MIT
1616URL: https://github.com/%{ org} /%{ project}
1717Source: %{ url} /archive/v%{ version} /%{ name} -%{ version} .tar.gz
1818
@@ -44,3 +44,6 @@ BuildRequires: zlib-devel
4444%changelog
4545* @DATE@ Gonzalo Rafuls <gonza @redhat.com > - @VERSION@-@RELEASE@
4646- built from upstream, changelog ignored
47+
48+ %check
49+ %{ __python3} -m tox
You can’t perform that action at this time.
0 commit comments