Browse Source

Add title and note to releases (#20)

release/v0.0.11
Jonas Franz 4 years ago committed by Gitea
parent
commit
f92784c0b6
  1. 9
      .changelog.yml
  2. 4
      .drone.yml
  3. 4
      Makefile

9
.changelog.yml

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
## ENHANCEMENTS
* Fetch user if no --owner is given
## BUILD
* Add docker release
* Add tests
* Add makefile
* Add S3 distrubution

4
.drone.yml

@ -30,7 +30,7 @@ pipeline: @@ -30,7 +30,7 @@ pipeline:
environment:
GOPATH: /go
commands:
- make release
- make generate-release-file release
when:
event: [ push, tag ]
branch: [ master ]
@ -39,6 +39,8 @@ pipeline: @@ -39,6 +39,8 @@ pipeline:
pull: true
base_url: "https://git.jonasfranz.software"
secrets: [ gitea_token ]
title: .version
note: .changelog.yml
files:
- releases/*
checksum:

4
Makefile

@ -21,6 +21,10 @@ all: @@ -21,6 +21,10 @@ all:
docker-binary:
go build -ldflags "$(LDFLAGS)" -o gitea-github-migrator
.PHONY: generate-release-file
generate-release-file:
echo $(VERSION) > .version
.PHONY: release
release:
@hash gox > /dev/null 2>&1; if [ $$? -ne 0 ]; then \

Loading…
Cancel
Save