瀏覽代碼

Fix makefile

Change-Id: Ifb7fd7260280587b0f5e4c6a5d011e325ecbe87b
tags/2017.4.1
Filip Pytloun 7 年之前
父節點
當前提交
df84869f9c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      Makefile

+ 1
- 1
Makefile 查看文件

@@ -65,7 +65,7 @@ release-minor: check-changes
[ ! -f debian/changelog ] || dch -v $(VERSION_MAJOR).$(NEW_MINOR_VERSION) -m --force-distribution -D `dpkg-parsechangelog -S Distribution` "New version"
make genchangelog-$(VERSION_MAJOR).$(NEW_MINOR_VERSION)
(git add -u; git commit -m "Version $(VERSION_MAJOR).$(NEW_MINOR_VERSION)")
git tag -s -m $(NEW_MAJOR_VERSION) $(VERSION_MAJOR).$(NEW_MINOR_VERSION)
git tag -s -m $(VERSION_MAJOR).$(NEW_MINOR_VERSION) $(VERSION_MAJOR).$(NEW_MINOR_VERSION)

check-changes:
@git log --pretty=oneline --decorate $(VERSION)..HEAD | grep -Eqc '.*' || (echo "No new changes since version $(VERSION)"; exit 1)

Loading…
取消
儲存