Browse Source

Add build badge

Fixing .drone

Signed-off-by: Jonas Franz <info@jonasfranz.software>
latest-release v0.0.6
Jonas Franz 2 years ago
parent
commit
1ed857e589
Signed by untrusted user: JonasFranzDEV GPG Key ID: 506AEEBE80BEDECD
2 changed files with 7 additions and 2 deletions
  1. +6
    -2
      .drone.yml
  2. +1
    -0
      README.md

+ 6
- 2
.drone.yml View File

@ -23,8 +23,9 @@ pipeline:
environment:
GOPATH: /go
commands:
- mkdir releases
- go get -u github.com/karalabe/xgo
- xgo -out gg-migrator -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" --targets=windows/*,darwin/* git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator
- xgo -dest releases -out gitea-github-migrator -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" --targets=windows/*,darwin/*,linux/* .
when:
event: [ tag ]
gitea:
@ -33,6 +34,9 @@ pipeline:
base_url: "https://git.jonasfranz.software"
secrets: [ gitea_token ]
files:
- gg-migrator*
- releases/*
checksum:
- sha256
- md5
when:
event: [ tag ]

+ 1
- 0
README.md View File

@ -1,4 +1,5 @@
# gitea-github-migrator
[![Build Status](https://drone.jonasfranz.software/api/badges/JonasFranzDEV/gitea-github-migrator/status.svg)](https://drone.jonasfranz.software/JonasFranzDEV/gitea-github-migrator)
A tool to migrate [GitHub](https://github.com) Repositories to [Gitea](https://gitea.io) including all issues, labels, milestones
and comments.

Loading…
Cancel
Save