chore(release): release on separate branch with changelog (#73)

* chore(release): release on separate branch with changelog

* chore: update changelog

* chore(ci): add required build step

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
This commit is contained in:
Jeroen de Bruijn 2020-05-11 09:44:48 +02:00 committed by GitHub
parent a5501b90ee
commit c6cec8c885
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 122 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());