sourcephile
/
git
/
haskell
/
symantic-plaintext.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39c740d
)
build: fix target `upload`
author
Julien Moutinho
<julm@sourcephile.fr>
Thu, 28 Oct 2021 00:23:33 +0000
(
02:23
+0200)
committer
Julien Moutinho
<julm@sourcephile.fr>
Thu, 28 Oct 2021 00:49:23 +0000
(
02:49
+0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 4bb36f6cc7405f4933f26a31a26d1dbc2e6e6585..fb3d72405ba72e8e5b9322de8cd378521ccd51d3 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-70,7
+70,8
@@
tar:
cabal sdist
cabal haddock --haddock-for-hackage --enable-doc
upload: LANG=C
-upload: tar tag
+upload: tar
+ git tag --merged | grep -Fqx $(package)-$(version)
git push --follow-tags $(GIT_PUSH_FLAGS)
cabal upload $(CABAL_UPLOAD_FLAGS) "$(cabal_builddir)"/sdist/$(package)-$(version).tar.gz
cabal upload $(CABAL_UPLOAD_FLAGS) --documentation "$(cabal_builddir)"/$(package)-$(version)-docs.tar.gz