Skip to content

Commit

Permalink
fix: release retrieval after creation/update
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Mar 27, 2023
1 parent 917f8db commit 692ef42
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [1.0.6] - 2023-03-24
## [1.0.7] - 2023-03-27
### Fixed
- release retrieval after creation/update

## [1.0.6] - 2023-03-27
### Fixed
- fixed release retrieval after creation/update

Expand Down
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ async function run() {
})
core.info(JSON.stringify(response, null, 2))
}

core.info('Waiting for 10 seconds...')
await new Promise(resolve => setTimeout(resolve, 10000))

core.info('Listing releases...')
releases = await octokit.paginate(octokit.rest.repos.listReleases, github.context.repo)
release = releases.find(release => release.tag_name === tag)
Expand Down

0 comments on commit 692ef42

Please sign in to comment.