Move dist files to subdirectory
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is failing

This commit is contained in:
IamTheFij 2020-12-01 19:15:07 -08:00
parent bdb7a06c19
commit 533f4963be
3 changed files with 5 additions and 5 deletions

View File

@ -43,7 +43,7 @@ steps:
image: plugins/gitea-release
settings:
title: ${DRONE_TAG}
files: tag-notifier-*
files: dist/*
checksum:
- md5
- sha1

3
.gitignore vendored
View File

@ -14,5 +14,4 @@
# Dependency directories (remove the comment below to include it)
# vendor/
tag-checker
tag-checker-*
dist/

View File

@ -1,5 +1,6 @@
OUTPUT ?= tag-checker
DOCKER_TAG ?= $(OUTPUT)-dev-${USER}
NAME ?= tag-checker
OUTPUT ?= dist/$(NAME)
DOCKER_TAG ?= $(NAME)-dev-${USER}
GIT_TAG_NAME := $(shell git tag -l --contains HEAD)
GIT_SHA := $(shell git rev-parse HEAD)
VERSION := $(if $(GIT_TAG_NAME),$(GIT_TAG_NAME),$(GIT_SHA))