Example PR for testing gitea_release in drone #2

Merged
arif merged 1 commits from gitea_release into master 2018-08-18 13:39:35 +09:00
3 changed files with 13 additions and 4 deletions

View File

@ -1,8 +1,17 @@
pipeline: pipeline:
build: build:
image: gcc image: gcc:4.9
commands: commands:
- make clean - make clean
- make - make
- make install - make install
gitea_release:
image: plugins/gitea-release
base_url: https://git.wicak.co
secrets: [ gitea_token ]
files: bin/*
checksum:
- sha1
- sha256
when:
event: tag

View File

@ -11,4 +11,4 @@ install:
.PHONY: clean .PHONY: clean
clean: clean:
rm -f hello rm -rf bin/

View File

@ -3,6 +3,6 @@ using namespace std;
int main() int main()
{ {
cout << "Hello, Arif!"; cout << "Hello, PR#2!";
return 0; return 0;
} }