Skip to content

Commit

Permalink
fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
tombokombo committed Sep 11, 2023
1 parent 79f8958 commit cf8caaf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

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]

core.setOutput('pft', tag)
core.setOutput('ut', ut)
Expand Down

0 comments on commit cf8caaf

Please sign in to comment.