Skip to content

Commit

Permalink
Use correct release upload file path in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
xxuejie committed Sep 6, 2021
1 parent a4c5303 commit 255785b
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 30 deletions.
12 changes: 9 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ trigger:
include:
- '*'

variables:
LUMOS_NODE_RUNTIME_VERSION: 9.0.2

jobs:
- job: LinuxBuild
pool:
Expand Down Expand Up @@ -63,6 +66,7 @@ jobs:
rm -rf packages/indexer/build
yarn
yarn workspace @ckb-lumos/indexer run package
yarn workspace @ckb-lumos/indexer run package-for-electron
displayName: 'Build release packages'
- task: GithubRelease@1
displayName: 'Upload release file'
Expand All @@ -71,7 +75,7 @@ jobs:
gitHubConnection: lumos_release
repositoryName: nervosnetwork/lumos
tag: $(Build.SourceBranchName)
assets: 'packages/indexer/build/stage/${TRAVIS_TAG}/*'
assets: 'packages/indexer/build/stage/$(Build.SourceBranchName)/*'
- job: OSXRelease
dependsOn: OSXBuild
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags'))
Expand All @@ -89,6 +93,7 @@ jobs:
rm -rf packages/indexer/build
yarn
yarn workspace @ckb-lumos/indexer run package
yarn workspace @ckb-lumos/indexer run package-for-electron
displayName: 'Build release packages'
- task: GithubRelease@1
displayName: 'Upload release file'
Expand All @@ -97,7 +102,7 @@ jobs:
gitHubConnection: lumos_release
repositoryName: nervosnetwork/lumos
tag: $(Build.SourceBranchName)
assets: 'packages/indexer/build/stage/${TRAVIS_TAG}/*'
assets: 'packages/indexer/build/stage/$(Build.SourceBranchName)/*'
- job: WindowsRelease
dependsOn: WindowsBuild
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags'))
Expand All @@ -115,6 +120,7 @@ jobs:
rm -rf packages/indexer/build
yarn
yarn workspace @ckb-lumos/indexer run package
yarn workspace @ckb-lumos/indexer run package-for-electron
displayName: 'Build release packages'
- task: GithubRelease@1
displayName: 'Upload release file'
Expand All @@ -123,4 +129,4 @@ jobs:
gitHubConnection: lumos_release
repositoryName: nervosnetwork/lumos
tag: $(Build.SourceBranchName)
assets: 'packages/indexer/build/stage/${TRAVIS_TAG}/*'
assets: 'packages/indexer/build/stage/$(Build.SourceBranchName)/*'
2 changes: 1 addition & 1 deletion packages/base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ckb-lumos/base",
"version": "0.17.0-rc1",
"version": "0.17.0-rc2",
"description": "Base data structures and utilities used in lumos",
"author": "Xuejie Xiao <[email protected]>",
"homepage": "https://github.com/nervosnetwork/lumos#readme",
Expand Down
10 changes: 5 additions & 5 deletions packages/common-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ckb-lumos/common-scripts",
"version": "0.17.0-rc1",
"version": "0.17.0-rc2",
"description": "Common script support in lumos",
"author": "Xuejie Xiao <[email protected]>",
"homepage": "https://github.com/nervosnetwork/lumos#readme",
Expand All @@ -27,10 +27,10 @@
"registry": "http://registry.npmjs.org/"
},
"dependencies": {
"@ckb-lumos/base": "^0.17.0-rc1",
"@ckb-lumos/config-manager": "^0.17.0-rc1",
"@ckb-lumos/helpers": "^0.17.0-rc1",
"@ckb-lumos/rpc": "^0.17.0-rc1",
"@ckb-lumos/base": "^0.17.0-rc2",
"@ckb-lumos/config-manager": "^0.17.0-rc2",
"@ckb-lumos/helpers": "^0.17.0-rc2",
"@ckb-lumos/rpc": "^0.17.0-rc2",
"ckb-js-toolkit": "^0.10.2",
"immutable": "^4.0.0-rc.12"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/config-manager/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ckb-lumos/config-manager",
"version": "0.17.0-rc1",
"version": "0.17.0-rc2",
"description": "Config manager for lumos",
"author": "Xuejie Xiao <[email protected]>",
"homepage": "https://github.com/nervosnetwork/lumos#readme",
Expand Down
12 changes: 6 additions & 6 deletions packages/hd-cache/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ckb-lumos/hd-cache",
"version": "0.17.0-rc1",
"version": "0.17.0-rc2",
"description": "HD wallet cache in lumos",
"author": "Xuejie Xiao <[email protected]>",
"homepage": "https://github.com/nervosnetwork/lumos#readme",
Expand All @@ -27,11 +27,11 @@
"registry": "http://registry.npmjs.org/"
},
"dependencies": {
"@ckb-lumos/base": "^0.17.0-rc1",
"@ckb-lumos/config-manager": "^0.17.0-rc1",
"@ckb-lumos/hd": "^0.17.0-rc1",
"@ckb-lumos/indexer": "^0.17.0-rc1",
"@ckb-lumos/rpc": "^0.17.0-rc1",
"@ckb-lumos/base": "^0.17.0-rc2",
"@ckb-lumos/config-manager": "^0.17.0-rc2",
"@ckb-lumos/hd": "^0.17.0-rc2",
"@ckb-lumos/indexer": "^0.17.0-rc2",
"@ckb-lumos/rpc": "^0.17.0-rc2",
"ckb-js-toolkit": "^0.10.2",
"immutable": "^4.0.0-rc.12"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/hd/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ckb-lumos/hd",
"version": "0.17.0-rc1",
"version": "0.17.0-rc2",
"description": "HD wallet manager in lumos",
"author": "Xuejie Xiao <[email protected]>",
"homepage": "https://github.com/nervosnetwork/lumos#readme",
Expand All @@ -27,7 +27,7 @@
"registry": "http://registry.npmjs.org/"
},
"dependencies": {
"@ckb-lumos/base": "^0.17.0-rc1",
"@ckb-lumos/base": "^0.17.0-rc2",
"bn.js": "^5.1.3",
"elliptic": "^6.5.3",
"sha3": "^2.1.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/helpers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ckb-lumos/helpers",
"version": "0.17.0-rc1",
"version": "0.17.0-rc2",
"description": "Helper functions for working with CKB",
"author": "Xuejie Xiao <[email protected]>",
"homepage": "https://github.com/nervosnetwork/lumos#readme",
Expand Down Expand Up @@ -43,8 +43,8 @@
"url": "https://github.com/nervosnetwork/lumos/issues"
},
"dependencies": {
"@ckb-lumos/base": "^0.17.0-rc1",
"@ckb-lumos/config-manager": "^0.17.0-rc1",
"@ckb-lumos/base": "^0.17.0-rc2",
"@ckb-lumos/config-manager": "^0.17.0-rc2",
"bech32": "^1.1.4",
"ckb-js-toolkit": "^0.10.2",
"immutable": "^4.0.0-rc.12"
Expand Down
4 changes: 2 additions & 2 deletions packages/indexer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ckb-lumos/indexer",
"version": "0.17.0-rc1",
"version": "0.17.0-rc2",
"description": "CKB Indexer for Lumos framework, might be suitable for independent usage as well",
"author": "Xuejie Xiao <[email protected]>",
"homepage": "https://github.com/nervosnetwork/lumos#readme",
Expand Down Expand Up @@ -35,7 +35,7 @@
"registry": "http://registry.npmjs.org/"
},
"dependencies": {
"@ckb-lumos/base": "^0.17.0-rc1",
"@ckb-lumos/base": "^0.17.0-rc2",
"ckb-js-toolkit": "^0.9.2",
"immutable": "^4.0.0-rc.12",
"neon-cli": "^0.4.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/rpc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ckb-lumos/rpc",
"version": "0.17.0-rc1",
"version": "0.17.0-rc2",
"description": "RPC module for CKB",
"author": "Xuejie Xiao <[email protected]>",
"homepage": "https://github.com/nervosnetwork/lumos#readme",
Expand Down Expand Up @@ -43,7 +43,7 @@
"url": "https://github.com/nervosnetwork/lumos/issues"
},
"dependencies": {
"@ckb-lumos/base": "^0.17.0-rc1",
"@ckb-lumos/base": "^0.17.0-rc2",
"ckb-js-toolkit": "^0.10.2"
},
"ava": {
Expand Down
4 changes: 2 additions & 2 deletions packages/sql-indexer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ckb-lumos/sql-indexer",
"version": "0.17.0-rc1",
"version": "0.17.0-rc2",
"description": "SQL based CKB Indexer",
"author": "Xuejie Xiao <[email protected]>",
"homepage": "https://github.com/nervosnetwork/lumos#readme",
Expand Down Expand Up @@ -29,7 +29,7 @@
"registry": "http://registry.npmjs.org/"
},
"dependencies": {
"@ckb-lumos/base": "^0.17.0-rc1",
"@ckb-lumos/base": "^0.17.0-rc2",
"ckb-js-toolkit": "^0.10.2",
"knex": "^0.21.1"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/transaction-manager/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ckb-lumos/transaction-manager",
"version": "0.17.0-rc1",
"version": "0.17.0-rc2",
"description": "Pending Transaction Manager for lumos",
"author": "Xuejie Xiao <[email protected]>",
"homepage": "https://github.com/nervosnetwork/lumos#readme",
Expand Down Expand Up @@ -40,8 +40,8 @@
"url": "https://github.com/nervosnetwork/lumos/issues"
},
"dependencies": {
"@ckb-lumos/indexer": "^0.17.0-rc1",
"@ckb-lumos/base": "^0.17.0-rc1",
"@ckb-lumos/indexer": "^0.17.0-rc2",
"@ckb-lumos/base": "^0.17.0-rc2",
"ckb-js-toolkit": "^0.10.2",
"immutable": "^4.0.0-rc.12"
}
Expand Down

0 comments on commit 255785b

Please sign in to comment.