diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f9ec19a..510dbb88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -113,43 +113,4 @@ jobs: files: | target/release/libdeno_mongo.dylib target/release/libdeno_mongo.so - target/release/deno_mongo.dll - - - name: Release Master(Linux) - uses: WebFreak001/deploy-nightly@v1.0.1 - if: startsWith(matrix.os, 'ubuntu') && matrix.kind == 'test' && startsWith(github.ref, 'refs/heads/master') - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: https://uploads.github.com/repos/manyuanrong/deno_mongo/releases/24155879/assets{?name,label} - release_id: 24155879 - asset_path: target/release/libdeno_mongo.so - asset_name: libdeno_mongo.so - asset_content_type: application/octet-stream - max_releases: 1 - - - name: Release Master(Mac) - uses: WebFreak001/deploy-nightly@v1.0.1 - if: startsWith(matrix.os, 'mac') && matrix.kind == 'test' && startsWith(github.ref, 'refs/heads/master') - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: https://uploads.github.com/repos/manyuanrong/deno_mongo/releases/24155879/assets{?name,label} - release_id: 24155879 - asset_path: target/release/libdeno_mongo.dylib - asset_name: libdeno_mongo.dylib - asset_content_type: application/octet-stream - max_releases: 1 - - - name: Release Master(Windows) - uses: WebFreak001/deploy-nightly@v1.0.1 - if: startsWith(matrix.os, 'windows') && matrix.kind == 'test' && startsWith(github.ref, 'refs/heads/master') - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: https://uploads.github.com/repos/manyuanrong/deno_mongo/releases/24155879/assets{?name,label} - release_id: 24155879 - asset_path: target/release/deno_mongo.dll - asset_name: deno_mongo.dll - asset_content_type: application/octet-stream - max_releases: 1 + target/release/deno_mongo.dll \ No newline at end of file diff --git a/ts/util.ts b/ts/util.ts index 39648f9e..760f4f81 100644 --- a/ts/util.ts +++ b/ts/util.ts @@ -17,7 +17,7 @@ interface Command { command_id?: number; } -export async function init(binVer: string = "master") { +export async function init(binVer: string) { let releaseUrl = `https://github.com/manyuanrong/deno_mongo/releases/download/${binVer}`; const options = {