chore(release): release on separate branch with changelog

This commit is contained in:
Jeroen de Bruijn 2020-05-10 22:41:15 +02:00
parent a5501b90ee
commit 94ac615380
No known key found for this signature in database
GPG key ID: 3A2677A1DF38FF9F
8 changed files with 117 additions and 325 deletions

View file

@ -2,13 +2,14 @@ class Docker {
readonly repository = 'renovate/renovate';
// renovate: datasource=docker depName=renovate/renovate versioning=docker
readonly tag = '19.234.1-slim';
readonly tagSuffix = '-slim';
image(): string {
return `${this.repository}:${this.tag}`;
}
version(): string {
return this.tag;
return this.tag.replace(this.tagSuffix, '');
}
}

5
src/get-version.ts Normal file
View file

@ -0,0 +1,5 @@
import * as core from '@actions/core';
import Docker from './docker';
const docker = new Docker();
core.setOutput('version', docker.version());