mirror of
https://github.com/goreleaser/goreleaser-action.git
synced 2026-05-18 00:11:53 +00:00
Move repository to GoReleaser org (#3)
This commit is contained in:
parent
be0c56834b
commit
7550dd0340
15 changed files with 59 additions and 85 deletions
|
|
@ -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,
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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...');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue