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

Introduces release workflow via CircleCI #180

Merged
merged 3 commits into from
Jan 5, 2021
Merged

Conversation

mattoberle
Copy link
Contributor

@mattoberle mattoberle commented Jan 5, 2021

This commit introduces a new release workflow that ensures NPM packages are published in a consistent manner.

The typical workflow will involve creating a release from the base branch (currently: master).

  1. Start by creating a prerelease candidate, selecting the correct version to increment.
npm run release (prepatch|preminor|premajor)
  1. This will run npm version (selection) and push the branch/tag.

  2. CircleCI will publish a package with --tag=prerelease, eg. v8.17.1-0.

  3. When we are ready to promote a release from prerelease to latest run the following.

npm run release (patch|minor|major)
  1. This will run npm version (selection) and push the branch/tag.

  2. CircleCI will publish a package, eg v8.17.1.


⚠️

This pull request upgrades node-sass from v4.11.0 to v4.14.0.
The previous version only supported builds on node versions < 10.

This commit introduces a new release workflow that ensures NPM packages are published in a consistent manner.

The typical workflow will involve creating a release from the **base** branch (currently: `master`).

1. Start by creating a prerelease candidate, selecting the correct version to increment.
```sh
npm run release (prepatch|preminor|premajor)
```

2. This will run `npm version (selection)` and push the branch/tag.

3. CircleCI will publish a package with `--tag=prerelease`, eg. `v8.17.1-0`.

4. When we are ready to promote a release from `prerelease` to `latest` run the following.
```sh
npm run release (patch|minor|major)
```

5. This will run `npm version (selection)` and push the branch/tag.

6. CircleCI will publish a package, eg `v8.17.1`.
The `node-sass` package v4.11.0 only supported LTS releases <= 10.
The new version should support <= 14.
@coveralls
Copy link

coveralls commented Jan 5, 2021

Coverage Status

Coverage remained the same at 100.0% when pulling 0aaf2ac on circleci/releases into db4e2a0 on master.

We were failing tests for things like extra parentheses that were added
for visual clarification. This commit removes the failure for eslint
warnings (otherwise what is the point of a warning?).
@mattoberle mattoberle merged commit af35f58 into master Jan 5, 2021
@mattoberle mattoberle deleted the circleci/releases branch January 5, 2021 20:21
phyllisstein added a commit that referenced this pull request Jan 20, 2021
* master:
  3.13.0
  Allow multiple leading underscores in field names (#179)
  Introduces release workflow via CircleCI (#180)
  3.12.2
  import the command you actually use (#175)
  3.12.1
  bugfix: enables CSS minification via environment variable (#172)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants