test
This commit is contained in:
parent
70a0e4dd72
commit
1efa3c1e65
2 changed files with 4 additions and 1 deletions
|
@ -59,6 +59,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: ~/Cider
|
at: ~/Cider
|
||||||
|
- run:
|
||||||
|
name: Install Snap
|
||||||
|
command: sudo snap install snapcraft --classic
|
||||||
- run:
|
- run:
|
||||||
name: Fix Versioning and Add Channel
|
name: Fix Versioning and Add Channel
|
||||||
command: yarn circle:script
|
command: yarn circle:script
|
||||||
|
|
|
@ -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}`
|
||||||
// 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