Fix: github actions tag build

This commit is contained in:
Dreamacro 2020-06-27 21:09:04 +08:00
parent 7c62fe41b4
commit 59968fff1c

View file

@ -43,7 +43,7 @@ jobs:
id: version
with:
script: |
return context.payload.ref.replace(/\/refs\/tags\/v/, '')
return context.payload.ref.replace(/\/?refs\/tags\/v/, '')
result-encoding: string
- name: Docker buildx image and push on release