Skip to content

Commit

Permalink
Fix version string again
Browse files Browse the repository at this point in the history
  • Loading branch information
lynzrand committed Jul 26, 2020
1 parent e683cde commit 304c013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:
version = re.sub('refs/\w+/', '' ,'${{ github.ref }}')
print('::set-output name=tag::{}'.format(version))
# Remove suffix '-take.X' in the tag
version = re.sub('-take\.\d+$', '', version)
version = re.sub('-?take\.\d+', '', version)
# Pop off the leading 'v' in the tag
version = re.sub('^v', '', version)
print('::set-output name=ver::{}'.format(version))
Expand Down

0 comments on commit 304c013

Please sign in to comment.