Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Release master #404

Merged
merged 4 commits into from Jul 15, 2019
Merged

Release master #404

merged 4 commits into from Jul 15, 2019

Conversation

jhellar
Copy link
Contributor

@jhellar jhellar commented Jul 12, 2019

@jhellar jhellar requested review from psturc and b1zzu July 12, 2019 14:21
@jhellar jhellar marked this pull request as ready for review July 12, 2019 14:23
scripts/publishRelease.sh Outdated Show resolved Hide resolved
type: string
steps:
# Allows us to authenticate with the npm registry
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
Copy link
Contributor

Choose a reason for hiding this comment

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

We should use scripts for everything that is more than single line

Copy link
Contributor

Choose a reason for hiding this comment

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

Each of these individual steps is a script. Wrapping those ones up into a bigger script obfuscates how the release process works. I think this usage of CircleCI commands to not duplicate the npm publishing steps is really nice stuff.

.circleci/config.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@darahayes darahayes left a comment

Choose a reason for hiding this comment

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

I'm still not 100% sure about the idea of publishing master versions to npm because it will generate a lot of noise and the module on npm will contain tonnes of spammy looking package versions. However I think the it's done in this PR is pretty good. Going to leave final review to @wtrocki

@jhellar
Copy link
Contributor Author

jhellar commented Jul 15, 2019

Thanks for review. With more master versions on npm I agree that this might not be a good idea. Would it make sense to keep only the latest master on npm - with every master release unpublish the previous one? @darahayes @wtrocki

@wtrocki
Copy link
Contributor

wtrocki commented Jul 15, 2019

I think from my side suggestion will be to use dev instead of master tag as we already have dev and the purpose of those is exactly the same. Apart from that I'm happy to see how this will play out.

A side impact of this change is that I will probably need to do less renovate merges. Aggregate them somehow. Renovate tends to create so many PR's and it can mean 5 releases in an hour where we address them. Obviously, we can wait with addressing those and this is just a workflow change.

@jhellar
Copy link
Contributor Author

jhellar commented Jul 15, 2019

@wtrocki I have changed it so that dev tag is used.

@wtrocki
Copy link
Contributor

wtrocki commented Jul 15, 2019

I will ping you on next merge so we can verify that in action

@jhellar jhellar merged commit d61d254 into aerogear:master Jul 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants