Commit e71872a3
e71872a30f87Merged
zhiliaev <[email protected]> ยท 4 years ago ยท 1 file ยท ~1 modified
Description
fix: release-0.21.0 to release/0.21.0
Details
- Commit
- e71872a30f87
- Parent
- e6b4655e52d1
.github/workflows/goreleaser.ymlmodifiedView file
@@ -19,11 +19,11 @@
1919
- name: Create tag2020
id: tag2121
uses: actions/github-script@v622-
if: github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release-')22+
if: github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/')2323
with:2424
github-token: ${{ github.token }}2525
script: |26-
const tag = context.payload.pull_request.head.ref.replace("release-", "v")26+
const tag = context.payload.pull_request.head.ref.replace("release/", "v")2727
await github.rest.git.createRef({2828
owner: context.repo.owner,2929
repo: context.repo.repo,