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

chore: deploy prerelease packages by CircleCI #167

Merged
merged 4 commits into from
Apr 15, 2020

Conversation

bednar
Copy link
Contributor

@bednar bednar commented Apr 8, 2020

Fixes #164

Proposed Changes

The CircleCI publish prerelease packages. Package versions looks like:

Found 2 packages to publish:
 - @influxdata/influxdb-client-apis => 1.2.0-alpha.6+a9851da
 - @influxdata/influxdb-client => 1.2.0-alpha.6+a9851da

Checklist

  • CHANGELOG.md updated
  • A test has been added if appropriate
  • yarn test completes successfully
  • Commit messages are in semantic format
  • Sign CLA (if not already signed)

@bednar bednar added this to the 1.2.0 milestone Apr 8, 2020
@bednar bednar requested review from rhajek and sranka April 8, 2020 08:51
@bednar bednar marked this pull request as ready for review April 8, 2020 08:55
Makefile Outdated

nightly:
yarn install --frozen-lockfile
yarn run build
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we might signalize a nightly build

sed  -i '' -e "s/CLIENT_LIB_VERSION = '\([0-9.]*\).*'/CLIENT_LIB_VERSION = '\1 nightly'/" packages/core/src/impl/version.ts

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prepared script that update CLIENT_LIB_VERSION to same version as is used by lerna --canary.

version.ts looks like:

export const CLIENT_LIB_VERSION = '1.2.0.nightly'

builded packages:

Found 2 packages to publish:
 - @influxdata/influxdb-client-apis => 1.2.0-nightly.9+dd9bb60
 - @influxdata/influxdb-client => 1.2.0-nightly.9+dd9bb60

@bednar bednar merged commit f8c85ca into influxdata:master Apr 15, 2020
@bednar bednar deleted the nightly-build branch April 15, 2020 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deploy nightly builds by CircleCI
2 participants