forked from fyne-io/systray
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
18 lines (15 loc) · 605 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
tag-changelog: require-version require-gh-token
echo "Tagging..." && \
git tag -a "$$VERSION" -f --annotate -m"Tagged $$VERSION" && \
git push --tags -f && \
git checkout master && \
git pull && \
github_changelog_generator --no-issues --max-issues 100 --token "${GH_TOKEN}" --user getlantern --project systray && \
git add CHANGELOG.md && \
git commit -m "Updated changelog for $$VERSION" && \
git push origin HEAD && \
git checkout -
guard-%:
@ if [ -z '${${*}}' ]; then echo 'Environment variable $* not set' && exit 1; fi
require-version: guard-VERSION
require-gh-token: guard-GH_TOKEN