init
This commit is contained in:
17
Makefile
Normal file
17
Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
ifndef OC_VERSION
|
||||
$(error OC_VERSION is not set)
|
||||
endif
|
||||
|
||||
PUBLISH_REPO := "na/oc-version"
|
||||
PUBLISH_TOKEN := "61bcebe3a6ffa67ae88adeb49825d94d212889eb"
|
||||
PUBLISH_BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
|
||||
|
||||
.PHONY: publish
|
||||
publish:
|
||||
@echo Publication de : ${OC_VERSION}
|
||||
@(cd publish && \
|
||||
PUBLISH_REPO=${PUBLISH_REPO} \
|
||||
PUBLISH_TOKEN=${PUBLISH_TOKEN} \
|
||||
PUBLISH_BRANCH=${PUBLISH_BRANCH} \
|
||||
go run main.go ${OC_VERSION})
|
||||
|
||||
Reference in New Issue
Block a user