aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Daniel Ruiz de Alegría <daniel@drasite.com>2019-05-25 20:05:15 +0200
committerLibravatar Daniel Ruiz de Alegría <daniel@drasite.com>2019-05-25 20:05:15 +0200
commit36baaf84523375c76294f1d01fa23582c73b5d13 (patch)
tree965613e6ffa639cf224898ca0ab73a7ff623932b
parent7e21deaa2ee44ac58ca96215bf3b5dbc86364e28 (diff)
downloadflat-remix-36baaf84523375c76294f1d01fa23582c73b5d13.tar.gz
flat-remix-36baaf84523375c76294f1d01fa23582c73b5d13.zip
Fix makefile launchpad_release
-rw-r--r--Makefile7
-rw-r--r--deb/flat-remix/debian/changelog-template4
2 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 526f55603..c94f3bc4b 100644
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,7 @@ release: _get_version
$(MAKE) generate_changelog VERSION=$(VERSION)
$(MAKE) aur_release VERSION=$(VERSION)
$(MAKE) copr_release VERSION=$(VERSION)
+ $(MAKE) launchpad_release
git tag -f $(VERSION)
git push origin --tags
@@ -52,16 +53,14 @@ aur_release: _get_version _get_tag
git commit aur -m "Update aur version $(VERSION)"
git push origin master
- $(MAKE) launchpad_release
-
copr_release: _get_version _get_tag
sed "s/$(TAG)/$(VERSION)/g" -i $(PKGNAME).spec
git commit $(PKGNAME).spec -m "Update $(PKGNAME).spec version $(VERSION)"
git push origin master
-launchpad_release: _get_version _get_tag
+launchpad_release: _get_version
cp -a Flat-Remix* Makefile deb/$(PKGNAME)
- sed "s/$(TAG)/$(VERSION)/g" -i deb/$(PKGNAME)/debian/changelog-template
+ sed "s/{}/$(VERSION)/g" -i deb/$(PKGNAME)/debian/changelog-template
cd deb/$(PKGNAME)/debian/ && echo " -- $(MAINTAINER) $$(date -R)" | cat changelog-template - > changelog
cd deb/$(PKGNAME) && debuild -S -d
dput ppa deb/$(PKGNAME)_$(VERSION)_source.changes
diff --git a/deb/flat-remix/debian/changelog-template b/deb/flat-remix/debian/changelog-template
index 8c4ee253e..6252f704d 100644
--- a/deb/flat-remix/debian/changelog-template
+++ b/deb/flat-remix/debian/changelog-template
@@ -1,4 +1,4 @@
-flat-remix (20190519) disco; urgency=low
+flat-remix ({}) disco; urgency=low
- * Release 20190519
+ * Release {}