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

feat(ci): auto-release nightly versions of @zwave-js/config #1271

Merged
merged 1 commit into from
Jan 1, 2021

Conversation

AlCalzone
Copy link
Member

With this PR, we automatically release a new prerelease version of @zwave-js/config every night at 02:00 if the following conditions are met:

  1. There are config file changes
  2. There are no non-config file changes (except .gitignore)
  3. lerna tells us that only @zwave-js/config and zwave-js (because of the dependency) would be published
  4. The lint:config script succeeds
  5. Building @zwave-js/config succeeds.

The action does not mirror the version back to git, but chooses a version increase with the least specifity:
1.0.0 < 1.0.1-20210101 < 1.0.1-alpha.0 < 1.0.1-alpha.0.20200101 < 1.0.1-alpha.1

This way, versions that are manually released later will always have precedence.

fixes: #1267

@AlCalzone AlCalzone added the infrastructure Issues related to infrastructure and development label Jan 1, 2021
@AlCalzone AlCalzone self-assigned this Jan 1, 2021
@AlCalzone
Copy link
Member Author

Let's just try this...

@AlCalzone AlCalzone merged commit c8e932b into master Jan 1, 2021
@AlCalzone AlCalzone deleted the auto-release-nightly-configs branch January 1, 2021 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Issues related to infrastructure and development
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto-release nightly versions of @zwave-js/config
1 participant