Skip to content

Commit

Permalink
fix: try to publish first, and then publish binaries (#318)
Browse files Browse the repository at this point in the history
* fix: move lerna publish upside and regenerate yarn

* chore: remove gitignore
  • Loading branch information
XVincentX committed May 23, 2019
1 parent a9bbc36 commit 1d8618c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
name: Build all code to JavaScript
command: yarn build
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run:
name: Publish
command: yarn lerna publish from-git --github-release --yes --dist-tag alpha
- run:
name: Create CLI binaries
command: npx pkg --out-path ./cli-binaries ./packages/cli/
Expand All @@ -57,9 +60,6 @@ jobs:
root: ./
paths:
- cli-binaries
- run:
name: Publish
command: yarn lerna publish from-git --github-release --yes --dist-tag alpha
upload_artifacts:
docker:
- image: circleci/golang:1-stretch
Expand Down
8 changes: 0 additions & 8 deletions packages/cli/.gitignore

This file was deleted.

4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4714,10 +4714,10 @@ jsonparse@^1.2.0:
resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280"
integrity sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=

"jsonpath@git+https://github.com/stoplightio/jsonpath.git#f1c0e9e634da2d45671b7639fa0a99afc807da17":
"jsonpath@https://github.com/stoplightio/jsonpath#f1c0e9e634da2d45671b7639fa0a99afc807da17":
version "1.0.0"
uid f1c0e9e634da2d45671b7639fa0a99afc807da17
resolved "git+https://github.com/stoplightio/jsonpath.git#f1c0e9e634da2d45671b7639fa0a99afc807da17"
resolved "https://github.com/stoplightio/jsonpath#f1c0e9e634da2d45671b7639fa0a99afc807da17"
dependencies:
esprima "1.2.2"
jison "0.4.13"
Expand Down

0 comments on commit 1d8618c

Please sign in to comment.