diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f2bfc2e..abaea2e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,6 +37,13 @@ jobs: run: nci - name: Release - run: nr release + run: | + if [[ ${{ github.ref }} == *refs/tags/*-beta* ]]; then + npm publish --tag beta + elif [[ ${{ github.ref }} == *refs/tags/*-alpha* ]]; then + npm publish --tag alpha + else + npm publish + fi env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} diff --git a/src/history.ts b/src/history.ts index e230a22..06e9621 100644 --- a/src/history.ts +++ b/src/history.ts @@ -84,11 +84,9 @@ export class History { } const isBlock = await this.canJump(params) if (urlParams) { - console.log(urlParams) if (!option.url.includes('?')) option.url += '?' option.url += `${URL_PARAMS_KEY}=${encodeURIComponent(JSON.stringify(urlParams))}` - console.log(option.url) } if (!isBlock) { this.notifyListeners(params)