0
0
mirror of https://github.com/thegeeklab/wp-gitea-release.git synced 2024-11-24 13:00:40 +00:00

updating documentation for checksum usage

This commit is contained in:
jackspirou 2016-01-15 11:29:12 -06:00
parent f7b84f7407
commit 0922e8ea4c
6 changed files with 29 additions and 6 deletions

View File

@ -1 +1 @@
eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkExMjhHQ00ifQ.ENVLhyifwZ-n9nN_8SKGRRI-esqsXjSfnFmzEAazMFeBWhDln0IXi3EAPGpJUmT9kkqXIqtqUgQ9H_nh2y274RrBcUs2Ch9E4f1wDYHgbenG1b8AkJWED4g5bre-r0huxuq2LhW9UutiZU17Zz7An0U9IKhucGtPAgBd7NIZjR0b2ioUp_jMkrOBnXvKuxzeYjDC2p0m8yvIRKahtlRPhQRvh8raXV890PZuH4vGJOpDymAiX1jZJLMSjN1ODj5U100RLugfIQUKi8b4aCas0hHHSQJcxnZgWDkVZEFiJct-VcWPUahUW99ogyH7v5dwjxIe9GeGHfr0ZO0KL8MxYg.se4-CBJA0XtQYbPO.arFXgGSOO_-UKMx5UnqozPEOkZEuOJyTQkJX9gpoyMeeK22bDJfpi9fl99K9aKRfrOeo37JHpkIyDfqWLo0548G73KaH7WK4U8gTHN6RvwsAvtP6UY3eUgJeQaC1F6zSz0N2tyr0SiH6NxeLNsIzFrUtLXi1kN_ocSUwWgnLEQROw_h9MiH_YWlRt6cB4Gpljs1HF9-g.V6GluvSUzQGIiqJSHXVoLQ
eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkExMjhHQ00ifQ.R-s00gRELUNOzcRuOcoVhqltGWZKP3xQyM-WCqyszETHKr2OVBtN6dfYEEYv1jB5a_4SUs3WDJsjdXieeQsL5sWiDwSzS8cjCeLF3J0XjgmwaPL2EiJn78yHcSOfV-YhHL6fM2zdxKKKgATlKLPGyi6p-O2saL-knl3gnKnO13-ZDWoVIsYVyklFH8UscVEwI4kthGP6rFGLZon46HePvrUxdBcczBZmuqQLGxXmFBr93cX2eJ6QK8K4j6pZwtC5q8ZcrnXwwOoJW_UjZugKuzEHcS_DX_59vb5oJ1MdWhdb8Sm5MBs7nYjRpx900KZzqxG8jzQYuo5PsH4r819GeQ.1BShEZlbixdfZWJB.PuIVYaAJEsbvhqcqTQD7FLQvFDscDvQLorCq7-Gh0LoZBO-5N3XIJVtcEtetW2Dqs6srNhYwEDqryqVp7O3MHlesSuPNy8ulGjCziuqPa5qmCI2ds6gv19RAtXpzot-UobDERID0W9CfL4ZeaiW1AKQmxB52jgNnmTZ3Gqbad4ZPIKBu5BvkIPtAOmbWu7I2SKFvyp8PzD9BMfH_k-Y3_y1f0hrvFYIcl3iuL7z0LW0OAot3aLfeGSuct65Zp5qZuXdUCTCDqYInNPjIcMczZkh3GOKtSm2grRKeEE3ub1_Kmyiw_F8CWGdlYXtOXM47Y9wxmQsKuQFT1WffUW3qdJCXTMvg3ILXJ5AzeuLcX1UkD4cPYg0AfqEEaLAee_0Btfoxpg.Ai8KGIEtc3W1h_vTAZahgg

View File

@ -7,10 +7,10 @@ build:
publish:
docker:
username: jackspirou
username: drone
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: jackspirou/drone-github-release
repo: plugins/drone-github-release
when:
branch: master
@ -18,7 +18,7 @@ plugin:
name: GitHub Release
desc: Publishs files and artifacts to GitHub Releases
type: publish
image: jackspirou/drone-github-release
image: plugins/drone-github-release
labels:
- github
- release

1
.gitignore vendored
View File

@ -24,4 +24,3 @@ _testmain.go
*.prof
drone-github-release
secrets.yml

View File

@ -3,6 +3,7 @@ can override the default configuration with the following parameters:
* `api_key` - GitHub oauth token with public_repo or repo permission
* `files` - Files to upload to GitHub Release, globs are allowed
* `checksums` - Checksum hashes to include in your GitHub release for all files specified. Supported hash methods include md5, sha1, sha256, sha512, adler32, and crc32.
* `base_url` - GitHub base URL, only required for GHE
* `upload_url` - GitHub upload URL, only required for GHE
@ -14,4 +15,11 @@ publish:
api_key: my_github_api_key
files:
- dist/*
checksums:
- md5
- sha1
- sha256
- sha512
- adler32
- crc32
```

View File

@ -22,4 +22,4 @@ build:
go build -ldflags '-s -w $(LDFLAGS)'
docker:
docker build --rm=true -t jackspirou/drone-github-release .
docker build --rm=true -t drone/drone-github-release .

View File

@ -31,6 +31,14 @@ Drone plugin for publishing GitHub releases
"files": [
"dist/*.txt",
"dist/other-file"
],
"checksums": [
"md5",
"sha1",
"sha256",
"sha512",
"adler32",
"crc32"
]
}
}
@ -71,6 +79,14 @@ docker run -i plugins/drone-github-release <<EOF
"files": [
"dist/*.txt",
"dist/other-file"
],
"checksums": [
"md5",
"sha1",
"sha256",
"sha512",
"adler32",
"crc32"
]
}
}