Skip to content

Commit

Permalink
tools: prepare-package: add RPM build and copr upload
Browse files Browse the repository at this point in the history
  • Loading branch information
cejkato2 committed Aug 8, 2018
1 parent d52e9a7 commit f06c921
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions prepare-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,11 @@ cont_prompt

git commit -a -m "$name: increased version, updated ChangeLog, released RPM package" -e

echo "I will build the new RPM to get source package (SRPM)"
./bootstrap.sh &&./configure -q && make rpm

echo "I will upload the new RPM to copr"
cont_prompt

copr build @CESNET/NEMEA RPMBUILD/SRPMS/$name-$currversion-1.src.rpm

0 comments on commit f06c921

Please sign in to comment.