]> repo.cephalix.eu Git - KnietzschesGeschichtenwerkstatt.git/commitdiff
New release master
authorbuildmaster <buildmaster@git.cephalix.eu>
Fri, 15 Oct 2021 10:10:17 +0000 (12:10 +0200)
committerbuildmaster <buildmaster@git.cephalix.eu>
Fri, 15 Oct 2021 10:10:17 +0000 (12:10 +0200)
Makefile
RELEASE

index 528b7063471ec3e58a35968e9f948294df19887f..396bfaf4a2a33dbab29ffee0a50783c32b880287 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 PACKAGE         = $(shell basename `pwd` )
 DESTDIR         = /
 PACKAGE         = $(shell basename `pwd` )
 DESTDIR         = /
-REPO            = /srv/www/repo/TESTING/salt-packages/
+REPO            = /srv/www/repo/salt-packages/
 VERSION         = $(shell cat VERSION )
 RELEASE         = $(shell cat RELEASE )
 NRELEASE        = $(shell echo $(RELEASE) + 1 | bc )
 VERSION         = $(shell cat VERSION )
 RELEASE         = $(shell cat RELEASE )
 NRELEASE        = $(shell echo $(RELEASE) + 1 | bc )
@@ -20,7 +20,7 @@ package:
        rm -rf oss-pkg-$(PACKAGE)
        mv  oss-pkg-$(PACKAGE).tar.bz2  /usr/src/packages/SOURCES/
        rpmbuild -bb oss-pkg-$(PACKAGE).spec
        rm -rf oss-pkg-$(PACKAGE)
        mv  oss-pkg-$(PACKAGE).tar.bz2  /usr/src/packages/SOURCES/
        rpmbuild -bb oss-pkg-$(PACKAGE).spec
-       for i in $(REPO)/noarch/oss-pkg-$(PACKAGE)-$(VERSION)-*.rpm; do test -e $$i && rm $$i; done 
+       find $(REPO)/noarch -name "oss-pkg-$(PACKAGE)-$(VERSION)-*.rpm"  -exec rm {} \;
        mv /usr/src/packages/RPMS/noarch/oss-pkg-$(PACKAGE)-$(VERSION)-$(NRELEASE).noarch.rpm $(REPO)/noarch
        echo $(NRELEASE) > RELEASE
        git commit -a -m "New release"
        mv /usr/src/packages/RPMS/noarch/oss-pkg-$(PACKAGE)-$(VERSION)-$(NRELEASE).noarch.rpm $(REPO)/noarch
        echo $(NRELEASE) > RELEASE
        git commit -a -m "New release"
diff --git a/RELEASE b/RELEASE
index c227083464fb9af8955c90d2924774ee50abb547..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d 100644 (file)
--- a/RELEASE
+++ b/RELEASE
@@ -1 +1 @@
-0
\ No newline at end of file
+1