Skip to content

Commit

Permalink
Not releasing master binary
Browse files Browse the repository at this point in the history
  • Loading branch information
manyuanrong committed Mar 4, 2020
1 parent 80b847a commit 715ca63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 41 deletions.
41 changes: 1 addition & 40 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion ts/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 715ca63

Please sign in to comment.