Skip to content

Commit

Permalink
Fix getting last stable release stats (#51106)
Browse files Browse the repository at this point in the history
Small fix ensuring we use the correct repo for getting the last stable
tag
  • Loading branch information
ijjk committed Jun 10, 2023
1 parent db10dd6 commit d8763ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/next-stats-action/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ if (!allowedActions.has(actionInfo.actionName) && !actionInfo.isRelease) {

if (actionInfo.isRelease) {
logger('Release detected, using last stable tag')
const lastStableTag = await getLastStable(mainRepoDir, actionInfo.prRef)
const lastStableTag = await getLastStable(diffRepoDir, actionInfo.prRef)
mainRef = lastStableTag
mainNextSwcVersion = lastStableTag
if (!lastStableTag) throw new Error('failed to get last stable tag')
Expand Down

0 comments on commit d8763ca

Please sign in to comment.