Move repository to GoReleaser org (#3)

This commit is contained in:
CrazyMax 2019-09-28 20:50:20 +02:00 committed by GitHub
parent be0c56834b
commit 7550dd0340
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 59 additions and 85 deletions

View file

@ -61,7 +61,7 @@ interface GitHubRelease {
async function determineVersion(version: string): Promise<string> {
let rest: restm.RestClient = new restm.RestClient(
'ghaction-goreleaser',
'goreleaser-action',
'https://github.com',
undefined,
{

View file

@ -26,10 +26,10 @@ export async function run(silent?: boolean) {
if (key) {
console.log('🔑 Importing signing key...');
let path = `${process.env.HOME}/key.asc`;
fs.writeFileSync(path, key, {mode: 0o600})
fs.writeFileSync(path, key, {mode: 0o600});
await exec.exec('gpg', ['--import', path], {
silent: silent
})
});
}
console.log('🏃 Running GoReleaser...');