Move dist files to subdirectory
continuous-integration/drone/push Build was killed Details
continuous-integration/drone/tag Build is failing Details

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 image: plugins/gitea-release
settings: settings:
title: ${DRONE_TAG} title: ${DRONE_TAG}
files: tag-notifier-* files: dist/*
checksum: checksum:
- md5 - md5
- sha1 - sha1

3
.gitignore vendored
View File

@ -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-*

View File

@ -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))