Move dist files to subdirectory
This commit is contained in:
parent
bdb7a06c19
commit
533f4963be
|
@ -43,7 +43,7 @@ steps:
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
title: ${DRONE_TAG}
|
title: ${DRONE_TAG}
|
||||||
files: tag-notifier-*
|
files: dist/*
|
||||||
checksum:
|
checksum:
|
||||||
- md5
|
- md5
|
||||||
- sha1
|
- sha1
|
||||||
|
|
|
@ -14,5 +14,4 @@
|
||||||
|
|
||||||
# Dependency directories (remove the comment below to include it)
|
# Dependency directories (remove the comment below to include it)
|
||||||
# vendor/
|
# vendor/
|
||||||
tag-checker
|
dist/
|
||||||
tag-checker-*
|
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -1,5 +1,6 @@
|
||||||
OUTPUT ?= tag-checker
|
NAME ?= tag-checker
|
||||||
DOCKER_TAG ?= $(OUTPUT)-dev-${USER}
|
OUTPUT ?= dist/$(NAME)
|
||||||
|
DOCKER_TAG ?= $(NAME)-dev-${USER}
|
||||||
GIT_TAG_NAME := $(shell git tag -l --contains HEAD)
|
GIT_TAG_NAME := $(shell git tag -l --contains HEAD)
|
||||||
GIT_SHA := $(shell git rev-parse HEAD)
|
GIT_SHA := $(shell git rev-parse HEAD)
|
||||||
VERSION := $(if $(GIT_TAG_NAME),$(GIT_TAG_NAME),$(GIT_SHA))
|
VERSION := $(if $(GIT_TAG_NAME),$(GIT_TAG_NAME),$(GIT_SHA))
|
||||||
|
|
Loading…
Reference in New Issue