test
This commit is contained in:
parent
52844317a9
commit
d8e6f97592
2 changed files with 4 additions and 1 deletions
|
@ -18,6 +18,9 @@ jobs:
|
||||||
# - run:
|
# - run:
|
||||||
# name: Rename Repository
|
# name: Rename Repository
|
||||||
# command: sed -i 's/github:ciderapp\/Cider/github:ciderapp\/cider-releases/' package.json
|
# command: sed -i 's/github:ciderapp\/Cider/github:ciderapp\/cider-releases/' package.json
|
||||||
|
- run:
|
||||||
|
name: Update Version Number of App
|
||||||
|
command: chmod +x resources/version.sh && ./resources/version.sh
|
||||||
- run:
|
- run:
|
||||||
name: Update Package Managers
|
name: Update Package Managers
|
||||||
command: sudo npm update -g npm yarn
|
command: sudo npm update -g npm yarn
|
||||||
|
|
|
@ -20,7 +20,7 @@ channel = channel.split('/').join('-')
|
||||||
|
|
||||||
// https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables
|
// https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables
|
||||||
const version = pkg.version.split('.');
|
const version = pkg.version.split('.');
|
||||||
pkg.version = `${version[0]}.${version[1]}.${version[2]}-${channel}.${process.env['CIRCLE_BUILD_NUM']}`
|
pkg.version = `${version[0]}.${version[1]}.${version[2]}-${channel}.${version[3]}`
|
||||||
// package.build.channel = channel
|
// package.build.channel = channel
|
||||||
pkg.publish = {
|
pkg.publish = {
|
||||||
"provider": "github",
|
"provider": "github",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue