We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 271d5b8 commit 5893d92Copy full SHA for 5893d92
.github/workflows/publish.yaml
@@ -30,13 +30,13 @@ jobs:
30
script: |
31
const {
32
data: [latest, previous],
33
- } = await github.rest.repos.listTags({
+ } = await github.rest.repos.listReleases({
34
...context.repo,
35
per_page: 2,
36
page: 1,
37
});
38
- core.setOutput("tag", latest.name.replace(/^v/, ''));
39
- core.setOutput("previous-tag", previous.name.replace(/^v/, ''));
+ core.setOutput("tag", latest.tag_name.replace(/^v/, ''));
+ core.setOutput("previous-tag", previous.tag_name.replace(/^v/, ''));
40
41
generate-release-notes-pr:
42
runs-on: ubuntu-22.04
0 commit comments