Add a temporary workaround for missing DRONE_BUILD_STARTED by using DRONE_BUILD_CREATED. Fixes #14

This commit is contained in:
Michael de Wit 2017-01-24 14:18:34 +01:00
parent 0888ac7f7e
commit c9430e82e6
2 changed files with 2 additions and 2 deletions

View file

@ -243,7 +243,7 @@ const DefaultTemplate = `
Started at:
</td>
<td>
{{ datetime build.started "Mon Jan 2 15:04:05 MST 2006" "Local" }}
{{ datetime build.created "Mon Jan 2 15:04:05 MST 2006" "Local" }}
</td>
</tr>
</table>

View file

@ -18,7 +18,7 @@ func main() {
app.Name = "email plugin"
app.Usage = "email plugin"
app.Action = run
app.Version = "1.0.0"
app.Version = "2.0.1"
app.Flags = []cli.Flag{
// Plugin environment
cli.StringFlag{