Skip to content

Commit

Permalink
Change release tag names
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Oct 3, 2023
1 parent cbe2652 commit 0b95e8c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
push:
branches: [ master ]
tags:
- "v?[0-9]+.[0-9]+.[0-9]+*"
- "release/pypx-DICOMweb/v?[0-9]+.[0-9]+.[0-9]+*"
pull_request:

jobs:
Expand All @@ -27,7 +27,8 @@ jobs:
if '${{ github.ref_type }}' == 'branch':
tags = ['latest']
elif '${{ github.ref_type }}' == 'tag':
tags = ['latest', '${{ github.ref_name }}']
version = '${{ github.ref_name }}'.split('/')[-1]
tags = ['latest', version]
else:
tags = []
Expand Down

0 comments on commit 0b95e8c

Please sign in to comment.