1 Star 1 Fork 1

娄超/zotero-mdnotes

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 947 Bytes
一键复制 编辑 原始数据 按行查看 历史
Argentina Ortega Sáinz 提交于 2020-08-24 23:09 . Add changelog to releases
all: Makefile.in
-include Makefile.in
# RELEASE:=$(shell grep em:version install.rdf | head -n 1 | sed -e 's/ *<em:version>//' -e 's/<\/em:version>//')
RELEASE:=$(shell git tag --sort version:refname | tail -n 1)
PREVRELEASE:=$(shell git tag --sort version:refname | tail -n 2 | head -n 1)
mdnotes.xpi: FORCE
rm -rf $@
zip -r $@ content chrome.manifest defaults locale skin install.rdf update.rdf -x \*.DS_Store
mdnotes-%-fx.xpi: mdnotes.xpi
mv $< $@
Makefile.in: install.rdf
echo "all: mdnotes-${RELEASE}-fx.xpi" > Makefile.in
release: mdnotes.xpi
@mv $< mdnotes-$(RELEASE).xpi
# Replace old version with new version in install.rdf and update.rdf
sed -i 's/${PREVRELEASE}/${RELEASE}/g' install.rdf
sed -i 's/${PREVRELEASE}/${RELEASE}/g' update.rdf
# Show commits between the last two tags
# @echo "\nChangelog\n------------"
@git log --pretty=format:"%s" $(PREVRELEASE)..$(RELEASE) > changelog.md
clean:
rm -rf *.xpi
FORCE:
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lou-chao-wuxing/zotero-mdnotes.git
[email protected]:lou-chao-wuxing/zotero-mdnotes.git
lou-chao-wuxing
zotero-mdnotes
zotero-mdnotes
master

搜索帮助