Skip to content

Commit

Permalink
fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
tombokombo authored Sep 11, 2023
1 parent 79f8958 commit 4dcc258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async function run(): Promise<void> {
core.setFailed(`Could not parse tag: ${ut}`)
}

const release: string = String(sm!.prerelease).split('-')[1]
const release: string = String(sm!.prerelease).split('-').slice(-1)[0])

Check failure on line 19 in src/main.ts

View workflow job for this annotation

GitHub Actions / check-dist

',' expected.

core.setOutput('pft', tag)

Check failure on line 21 in src/main.ts

View workflow job for this annotation

GitHub Actions / check-dist

',' expected.

Check failure on line 21 in src/main.ts

View workflow job for this annotation

GitHub Actions / check-dist

',' expected.
core.setOutput('ut', ut)
Expand Down

0 comments on commit 4dcc258

Please sign in to comment.