aboutsummaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
parent7e21deaa2ee44ac58ca96215bf3b5dbc86364e28 (diff)
downloadflat-remix-36baaf84523375c76294f1d01fa23582c73b5d13.tar.gz
flat-remix-36baaf84523375c76294f1d01fa23582c73b5d13.zip
Fix makefile launchpad_release
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 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