File tree Expand file tree Collapse file tree
packages/vscode-webdriverio Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5656 - name : 👷 Checkout
5757 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5858 with :
59- ref : ' main '
59+ ref : ${{ github.ref_name }}
6060 fetch-depth : 0
6161
6262 - name : 🛠️ Setup workspace
@@ -112,6 +112,12 @@ jobs:
112112 GITHUB_AUTH : ${{ secrets.GITHUB_TOKEN }}
113113 VSCODE_WDIO_DRY_RUN : ${{ github.event.inputs.dryRun }}
114114
115+ - name : ✅ Push to remote repository
116+ env :
117+ DRY_RUN_ARGS : ${{ github.event.inputs.dryRun == 'yes' && '--dry-run' || '' }}
118+ run : |
119+ git push origin --no-verify --follow-tags "${DRY_RUN_ARGS}"
120+
115121 - name : 📝 Create the Github Release
116122 run : |
117123 pnpm --filter @vscode-wdio/release run release-note
Original file line number Diff line number Diff line change 55 "scripts" : {
66 "cache-key" : " tsx ./src/cacheKey.ts" ,
77 "copy" : " tsx ./src/copy.ts" ,
8- "push" : " tsx ./src/push.ts" ,
98 "update-version" : " tsx ./src/updatePrereleaseVersion.ts" ,
109 "release-note" : " tsx ./src/createRelease.ts" ,
1110 "changelog" : " tsx ./src/changelog.ts"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3838 "prepackage:update-version" : " pnpm --filter @vscode-wdio/release run update-version" ,
3939 "package" : " vsce package" ,
4040 "publish" : " tsx ./scripts/publish.ts" ,
41- "postpublish" : " pnpm --filter @vscode-wdio/release run push" ,
4241 "package:next" : " pnpm run package --pre-release" ,
4342 "publish:next" : " pnpm run publish --pre-release" ,
4443 "typecheck" : " tsc --noEmit --project tsconfig.json" ,
You can’t perform that action at this time.
0 commit comments