Fix release pipeline

This commit is contained in:
sobolevn
2022-06-17 17:18:15 +03:00
parent 4cf3b445bd
commit 719cd3a6bc
2 changed files with 6 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
tag_name: tagName,
name: `Release of ${tagName} failed`,
name: `Release ${tagName}`,
generate_release_notes: true,
});
@@ -72,6 +72,6 @@ jobs:
await github.rest.issues.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: `Release failure on ${new Date().toDateString()}`,
body: `Details: https://github.com/${context.repo.owner}/${context.repo.repo}/actions/workflows/release.yml`,
title: `Release of django-stubs-ext failure on ${new Date().toDateString()}`,
body: `Details: https://github.com/typeddjango/django-stubs/actions/workflows/release-django-stubs-ext.yml`,
})

View File

@@ -47,7 +47,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
tag_name: tagName,
name: `Release of ${tagName} failed`,
name: `Release ${tagName}`,
generate_release_notes: true,
});
@@ -71,6 +71,6 @@ jobs:
await github.rest.issues.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: `Release failure on ${new Date().toDateString()}`,
body: `Details: https://github.com/${context.repo.owner}/${context.repo.repo}/actions/workflows/release.yml`,
title: `Release of django-stubs failure on ${new Date().toDateString()}`,
body: `Details: https://github.com/typeddjango/django-stubs/actions/workflows/release-django-stubs.yml`,
})