Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Enable self service dev releases #1278

Merged
merged 4 commits into from
Feb 28, 2020
Merged

Conversation

ismail-syed
Copy link
Contributor

@ismail-syed ismail-syed commented Feb 12, 2020

Allow Shopify developers to self serve dev releases for testing and hot fixes. See docs

@ismail-syed ismail-syed changed the title Enable self service for beta releases Enable self service beta releases Feb 12, 2020

### Step 1 - publish a beta(s)

- In your branch, run `yarn run release-beta`. Lerna will launch it's CLI to select a version for the changed pacakges. Select the `Custom` option and enter a version with an appended `-beta.X` (eg. `0.29.10-my-feature-beta.1`)
Copy link
Contributor

Choose a reason for hiding this comment

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

typo: pacakges

@ismail-syed ismail-syed force-pushed the self-server-beta-releases branch 3 times, most recently from 3ca4118 to 6ee8b0a Compare February 12, 2020 21:03

- In your branch, run `yarn run release-beta`. Lerna will launch it's CLI to select a version for the changed packages. Select the `Custom` option and enter a version with an appended `-beta.X` (eg. `0.29.10-my-feature-beta.1`)
- Push your branch to Github with the newly created tags using `git push origin <branch> --follow-tags`
- Create a temporary stack in Shipit that points to your beta branch
Copy link
Contributor

@helloneele helloneele Feb 13, 2020

Choose a reason for hiding this comment

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

This step could be more explicit

image

A note about replacing the environment with beta-test-<branch> would be good.

- In your branch, run `yarn run release-beta`. Lerna will launch it's CLI to select a version for the changed packages. Select the `Custom` option and enter a version with an appended `-beta.X` (eg. `0.29.10-my-feature-beta.1`)
- Push your branch to Github with the newly created tags using `git push origin <branch> --follow-tags`
- Create a temporary stack in Shipit that points to your beta branch
- Hit the deploy button in Shipit to publish your beta to npm
Copy link
Contributor

Choose a reason for hiding this comment

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

Hit the deploy button on your Publish commit in Shipit to publish your beta to npm


### Step 1 - publish a beta(s)

- In your branch, run `yarn run release-beta`. Lerna will launch it's CLI to select a version for the changed packages. Select the `Custom` option and enter a version with an appended `-beta.X` (eg. `0.29.10-my-feature-beta.1`)
Copy link
Contributor

Choose a reason for hiding this comment

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

This could maybe have some instructions on what to do when a package change causes other packages to be bumped as well. 🙂

Copy link
Contributor

@helloneele helloneele left a comment

Choose a reason for hiding this comment

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

LGTM! ✨ Just left a few comments where I wasn't 100% sure what to do.

@ismail-syed ismail-syed changed the title Enable self service beta releases Enable self service dev releases Feb 26, 2020
@ismail-syed ismail-syed force-pushed the self-server-beta-releases branch from 75a837b to 4b44145 Compare February 28, 2020 14:42
@ismail-syed ismail-syed merged commit ecc0223 into master Feb 28, 2020
@ismail-syed ismail-syed deleted the self-server-beta-releases branch February 28, 2020 15:01
@alexandcote alexandcote temporarily deployed to production March 4, 2020 16:53 Inactive
@helloneele helloneele deployed to test-use-memoized-number-format March 6, 2020 19:25 Active
@TayKangSheng TayKangSheng deployed to expand_locale_support_for_shopify_address March 9, 2020 08:16 Active
@michenly michenly temporarily deployed to gem March 24, 2020 21:43 Inactive
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.

7 participants