Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): set the correct channel if core was directly installed with @next #2646

Merged
merged 2 commits into from Jun 4, 2019

Conversation

Projects
None yet
3 participants
@faustbrian
Copy link
Collaborator

commented Jun 3, 2019

If the next release is installed via yarn global add @arkecosystem/core@next instead of using the ark config:cli --channel=next flag the channel will default to latest.

This PR adds a check on start to switch the channel in the configuration so that ark update can be used.

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Refactor
  • Performance
  • Tests
  • Build
  • Documentation
  • Code style update
  • Continuous Integration
  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes
  • No

Does this PR release a new version?

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

  • It's submitted to the develop branch, not the master branch
  • All tests are passing
  • New/updated tests are included

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)
@codecov-io

This comment has been minimized.

Copy link

commented Jun 3, 2019

Codecov Report

Merging #2646 into develop will decrease coverage by 0.02%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2646      +/-   ##
===========================================
- Coverage     65.8%   65.78%   -0.03%     
===========================================
  Files          401      401              
  Lines         8776     8779       +3     
  Branches       405      406       +1     
===========================================
  Hits          5775     5775              
- Misses        2953     2956       +3     
  Partials        48       48
Impacted Files Coverage Δ
packages/core/src/hooks/init/config.ts 0% <0%> (ø) ⬆️
packages/core/src/helpers/config.ts 0% <0%> (ø) ⬆️
packages/core/src/commands/config/cli.ts 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0d63050...94d21fc. Read the comment docs.

@faustbrian faustbrian merged commit 2b431e4 into develop Jun 4, 2019

15 checks passed

ci/circleci: node10-benchmark Your tests passed on CircleCI!
Details
ci/circleci: node10-e2e Your tests passed on CircleCI!
Details
ci/circleci: node10-functional Your tests passed on CircleCI!
Details
ci/circleci: node10-integration Your tests passed on CircleCI!
Details
ci/circleci: node10-unit Your tests passed on CircleCI!
Details
ci/circleci: node11-benchmark Your tests passed on CircleCI!
Details
ci/circleci: node11-e2e Your tests passed on CircleCI!
Details
ci/circleci: node11-functional Your tests passed on CircleCI!
Details
ci/circleci: node11-integration Your tests passed on CircleCI!
Details
ci/circleci: node11-unit Your tests passed on CircleCI!
Details
ci/circleci: node12-benchmark Your tests passed on CircleCI!
Details
ci/circleci: node12-e2e Your tests passed on CircleCI!
Details
ci/circleci: node12-functional Your tests passed on CircleCI!
Details
ci/circleci: node12-integration Your tests passed on CircleCI!
Details
ci/circleci: node12-unit Your tests passed on CircleCI!
Details

@ArkEcosystemBot ArkEcosystemBot deleted the fix/correct-version branch Jun 4, 2019

vasild added a commit that referenced this pull request Jun 4, 2019

Merge remote-tracking branch 'ArkEcosystem/core/develop' into fix-sna…
…pshot-rounds-dup

* ArkEcosystem/core/develop:
  fix(core-api): invalid orderBy causes internal server error (#2653)
  fix(core): set the correct channel if core was directly installed with @next (#2646)
  refactor(core-p2p): improve logging (#2652)
  misc(core-snapshots): fix the link to the documentation (#2650)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.