Skip to content

Commit 84dc3ec

Browse files
author
yangqingcheng
committedJan 26, 2021
feat: 测试自动tag2
1 parent 2e8096d commit 84dc3ec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎.github/workflows/release-please.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ jobs:
77
release-please:
88
runs-on: ubuntu-latest
99
steps:
10-
# 生成changle log 和 提交/更新release pr
1110
- uses: GoogleCloudPlatform/release-please-action@v2
11+
id: release
1212
with:
1313
token: ${{ secrets.GITHUB_TOKEN }}
1414
release-type: node
15-
package-name: release-please-action
16-
# 自动打tag
15+
package-name: ${{env.ACTION_NAME}}
16+
command: github-release
1717
- uses: actions/checkout@v2
1818
- name: tag major and patch versions
19-
if: ${{ steps.release.outputs.release_created }}
20-
run: |
19+
if: ${{ steps.release.outputs.release_created }}
20+
run: |
2121
git config user.name github-actions[bot]
2222
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
2323
git remote add gh-token "https://${{ secrets.GITHUB_TOKEN}}@github.com/google-github-actions/release-please-action.git"

0 commit comments

Comments
 (0)
Please sign in to comment.