release version 0.2.0
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
192b7232d0
commit
2d0c24890a
12
.drone.yml
12
.drone.yml
|
@ -7,3 +7,15 @@ steps:
|
|||
pull: always
|
||||
commands:
|
||||
- cargo test
|
||||
|
||||
- name: auto-release
|
||||
image: xena/gitea-release:0.2.0
|
||||
settings:
|
||||
auth_username: cadey
|
||||
gitea_server: https://tulpa.dev
|
||||
gitea_token:
|
||||
from_secret: GITEA_TOKEN
|
||||
when:
|
||||
branch:
|
||||
include:
|
||||
- master
|
||||
|
|
24
CHANGELOG.md
24
CHANGELOG.md
|
@ -6,6 +6,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## Unreleased
|
||||
|
||||
## 0.2.0
|
||||
|
||||
### ADDED
|
||||
|
||||
- Added [Drone plugin](https://docs.drone.io/plugins/overview/) support
|
||||
|
||||
### Drone Plugin Support
|
||||
|
||||
To use this as a drone plugin, use the following config:
|
||||
|
||||
```yaml
|
||||
- name: auto-release
|
||||
image: xena/gitea-release:0.2.0
|
||||
settings:
|
||||
auth_username: cadey
|
||||
gitea_server: https://tulpa.dev
|
||||
gitea_token:
|
||||
from_secret: GITEA_TOKEN
|
||||
when:
|
||||
branch:
|
||||
include:
|
||||
- master
|
||||
```
|
||||
|
||||
## 0.1.1
|
||||
|
||||
### FIXED
|
||||
|
|
|
@ -326,7 +326,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "gitea-release"
|
||||
version = "0.1.1"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"byte-unit",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "gitea-release"
|
||||
version = "0.1.1"
|
||||
version = "0.2.0"
|
||||
authors = ["Christine Dodrill <me@christine.website>"]
|
||||
edition = "2018"
|
||||
|
||||
|
|
|
@ -40,16 +40,16 @@ pub(crate) struct DroneEnv {
|
|||
#[structopt(env="DRONE_REPO_NAME")]
|
||||
pub repo: String,
|
||||
/// auth username
|
||||
#[structopt(env="AUTH_USERNAME")]
|
||||
#[structopt(env="PLUGIN_AUTH_USERNAME")]
|
||||
pub auth_user: String,
|
||||
/// Gitea server
|
||||
#[structopt(env="GITEA_SERVER")]
|
||||
#[structopt(env="PLUGIN_GITEA_SERVER")]
|
||||
pub server: String,
|
||||
/// Gitea token
|
||||
#[structopt(env="GITEA_TOKEN")]
|
||||
#[structopt(env="PLUGIN_GITEA_TOKEN")]
|
||||
pub token: String,
|
||||
/// CHANGELOG path
|
||||
#[structopt(env="CHANGELOG_PATH", default_value="./CHANGELOG.md")]
|
||||
#[structopt(env="PLUGIN_CHANGELOG_PATH", default_value="./CHANGELOG.md")]
|
||||
pub changelog_path: PathBuf,
|
||||
/// branch
|
||||
#[structopt(env="DRONE_REPO_BRANCH")]
|
||||
|
|
Loading…
Reference in New Issue