File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 88jobs :
99 release :
1010 name : Create Github Release
11- if : contains (github.ref, 'tags/v')
11+ if : startsWith (github.ref, 'refs/ tags/v')
1212 runs-on : ubuntu-latest
1313 steps :
1414
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ jobs:
115115 mv zip/als-ubuntu.zip .
116116
117117 - name : 🚢 Release Artifacts
118- if : startsWith(github.ref, 'refs/tags/') # so that only commits with a git tag would upload artifacts
118+ if : startsWith(github.ref, 'refs/tags/v ') # so that only commits with a git tag would upload artifacts
119119 env :
120120 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
121121 run : |
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ jobs:
206206 mv zip/als-macos.zip .
207207
208208 - name : 🚢 Release Artifacts
209- if : startsWith(github.ref, 'refs/tags/') # so that only commits with a git tag would upload artifacts
209+ if : startsWith(github.ref, 'refs/tags/v ') # so that only commits with a git tag would upload artifacts
210210 env :
211211 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
212212 run : |
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ jobs:
140140 mv zip/als-windows.zip .
141141
142142 - name : 🚢 Release Artifacts
143- if : startsWith(github.ref, 'refs/tags/') # so that only commits with a git tag would upload artifacts
143+ if : startsWith(github.ref, 'refs/tags/v ') # so that only commits with a git tag would upload artifacts
144144 env :
145145 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
146146 run : |
You can’t perform that action at this time.
0 commit comments