Skip to content

Commit 80e4979

Browse files
committed
fix: test release
1 parent 463d734 commit 80e4979

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

.github/workflows/release.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -148,19 +148,19 @@ jobs:
148148
- name: semanticRelease
149149
id: semantic-release
150150
run: |
151-
DEBUG=semantic-release:* npx semantic-release -t \${version}
151+
DEBUG=semantic-release:* npx semantic-release --dry-run
152152
env:
153153
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
154154
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
155-
- name: Update release
156-
run: |
157-
fileName="$GITHUB_WORKSPACE/.github/scripts/update-release.js"
158-
node -e "require('$fileName').updateRelease()"
159-
env:
160-
REPO_ACCESS_TOKEN: ${{ github.token }}
161-
TAG_NAME: ${{ steps.semantic-release.outputs.TAG_NAME }}
162-
RELEASE_BODY: ${{needs.update-api-specs.outputs.change-log}}
163-
REPO_NAME: ${{ github.repository }}
155+
# - name: Update release
156+
# run: |
157+
# fileName="$GITHUB_WORKSPACE/.github/scripts/update-release.js"
158+
# node -e "require('$fileName').updateRelease()"
159+
# env:
160+
# REPO_ACCESS_TOKEN: ${{ github.token }}
161+
# TAG_NAME: ${{ steps.semantic-release.outputs.TAG_NAME }}
162+
# RELEASE_BODY: ${{needs.update-api-specs.outputs.change-log}}
163+
# REPO_NAME: ${{ github.repository }}
164164
triggerCliWorkflow:
165165
runs-on: ubuntu-latest
166166
needs: [ update-api-specs, release]

.releaserc.json

-7
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,6 @@
5858
"changelogFile": "CHANGES.md"
5959
}
6060
],
61-
"@semantic-release/npm",
62-
[
63-
"@semantic-release/github",
64-
{
65-
"successComment": false
66-
}
67-
],
6861
[
6962
"@semantic-release/git",
7063
{

0 commit comments

Comments
 (0)