Browse Source

Move dist files to subdirectory

master
IamTheFij 2 years ago
parent
commit
533f4963be
  1. 2
      .drone.yml
  2. 3
      .gitignore
  3. 5
      Makefile

2
.drone.yml

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

3
.gitignore vendored

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

5
Makefile

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

Loading…
Cancel
Save