Skip to content

Commit

Permalink
fix: repos moved
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminNolan committed Jan 31, 2023
1 parent bfd6141 commit 4d760e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9642,7 +9642,7 @@ async function run() {
// Create a release
// API Documentation: https://developer.github.com/v3/repos/releases/#create-a-release
// Octokit Documentation: https://octokit.github.io/rest.js/#octokit-routes-repos-create-release
const createReleaseResponse = await github.repos.createRelease({
const createReleaseResponse = await github.rest.repos.createRelease({
owner,
repo,
tag_name: tag,
Expand Down
2 changes: 1 addition & 1 deletion src/create-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function run() {
// Create a release
// API Documentation: https://developer.github.com/v3/repos/releases/#create-a-release
// Octokit Documentation: https://octokit.github.io/rest.js/#octokit-routes-repos-create-release
const createReleaseResponse = await github.repos.createRelease({
const createReleaseResponse = await github.rest.repos.createRelease({
owner,
repo,
tag_name: tag,
Expand Down

0 comments on commit 4d760e7

Please sign in to comment.