Fix: actions tag replace

This commit is contained in:
Dreamacro 2020-06-08 13:53:04 +08:00
parent 1854199c47
commit 58c077b45e

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