You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
some hacked up test code for the Makefile, but the if statements are read on Makefile read, not on target run.
test_commit := $(shell git status | grep -c 'Changes not staged for commit\|Changes to be committed')test_make := $(shell git status | grep -c "Makefile")timestamp := $(shell /bin/date "+%H:%M %d/%m/%Y")commit:
# check whether there is anything to commit
ifeq ($(test_commit),0)
$(error nothing to commit!)
endif
# check whether the Makefile has been modified
ifneq ($(test_make),0)
$(error makefile must be commited by hand!)
endif
echo Timestamp is $(timestamp)
pdk commit -m "Update upstream components as of $(timestamp)"
git push github master
Maybe from a nightly cronjob?
The text was updated successfully, but these errors were encountered: