Browse Source

Add title and note to releases (#20)

tags/v0.0.10
Jonas Franz 9 months ago
parent
commit
f92784c0b6
3 changed files with 16 additions and 1 deletions
  1. 9
    0
      .changelog.yml
  2. 3
    1
      .drone.yml
  3. 4
    0
      Makefile

+ 9
- 0
.changelog.yml View File

@@ -0,0 +1,9 @@
1
+## ENHANCEMENTS
2
+*  Fetch user if no --owner is given
3
+
4
+## BUILD
5
+
6
+* Add docker release
7
+* Add tests
8
+* Add makefile
9
+* Add S3 distrubution

+ 3
- 1
.drone.yml View File

@@ -30,7 +30,7 @@ pipeline:
30 30
     environment:
31 31
       GOPATH: /go
32 32
     commands:
33
-      - make release
33
+      - make generate-release-file release
34 34
     when:
35 35
       event: [ push, tag ]
36 36
       branch: [ master ]
@@ -39,6 +39,8 @@ pipeline:
39 39
     pull: true
40 40
     base_url: "https://git.jonasfranz.software"
41 41
     secrets: [ gitea_token ]
42
+    title: .version
43
+    note: .changelog.yml
42 44
     files:
43 45
       - releases/*
44 46
     checksum:

+ 4
- 0
Makefile View File

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

Loading…
Cancel
Save