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

add --force flag/config option to "next" command #1776

Merged
merged 1 commit into from Feb 4, 2021
Merged

Conversation

hipstersmoothie
Copy link
Collaborator

@hipstersmoothie hipstersmoothie commented Feb 4, 2021

What Changed

see title

Why

With #1737 we will skip publishing a prerelease branch if a skip-release is found.
This is just like the canary command. #962
This PR add the --force flag from the canary command to next that acts in the same way. #993

Todo:

  • Add tests
  • Add docs

Change Type

Indicate the type of change your pull request is:

  • documentation
  • patch
  • minor
  • major

🐤 Download canary assets:

auto-linux-canary.1776.21894.gz
auto-macos-canary.1776.21894.gz
auto-win.exe-canary.1776.21894.gz

📦 Published PR as canary version: under canary scope @auto-canary@10.15.0-canary.1776.21894.0

✨ Test out this PR locally via:

npm install @auto-canary/bot-list@10.15.0-canary.1776.21894.0
npm install @auto-canary/auto@10.15.0-canary.1776.21894.0
npm install @auto-canary/core@10.15.0-canary.1776.21894.0
npm install @auto-canary/package-json-utils@10.15.0-canary.1776.21894.0
npm install @auto-canary/all-contributors@10.15.0-canary.1776.21894.0
npm install @auto-canary/brew@10.15.0-canary.1776.21894.0
npm install @auto-canary/chrome@10.15.0-canary.1776.21894.0
npm install @auto-canary/cocoapods@10.15.0-canary.1776.21894.0
npm install @auto-canary/conventional-commits@10.15.0-canary.1776.21894.0
npm install @auto-canary/crates@10.15.0-canary.1776.21894.0
npm install @auto-canary/docker@10.15.0-canary.1776.21894.0
npm install @auto-canary/exec@10.15.0-canary.1776.21894.0
npm install @auto-canary/first-time-contributor@10.15.0-canary.1776.21894.0
npm install @auto-canary/gem@10.15.0-canary.1776.21894.0
npm install @auto-canary/gh-pages@10.15.0-canary.1776.21894.0
npm install @auto-canary/git-tag@10.15.0-canary.1776.21894.0
npm install @auto-canary/gradle@10.15.0-canary.1776.21894.0
npm install @auto-canary/jira@10.15.0-canary.1776.21894.0
npm install @auto-canary/magic-zero@10.15.0-canary.1776.21894.0
npm install @auto-canary/maven@10.15.0-canary.1776.21894.0
npm install @auto-canary/microsoft-teams@10.15.0-canary.1776.21894.0
npm install @auto-canary/npm@10.15.0-canary.1776.21894.0
npm install @auto-canary/omit-commits@10.15.0-canary.1776.21894.0
npm install @auto-canary/omit-release-notes@10.15.0-canary.1776.21894.0
npm install @auto-canary/pr-body-labels@10.15.0-canary.1776.21894.0
npm install @auto-canary/released@10.15.0-canary.1776.21894.0
npm install @auto-canary/s3@10.15.0-canary.1776.21894.0
npm install @auto-canary/slack@10.15.0-canary.1776.21894.0
npm install @auto-canary/twitter@10.15.0-canary.1776.21894.0
npm install @auto-canary/upload-assets@10.15.0-canary.1776.21894.0
npm install @auto-canary/vscode@10.15.0-canary.1776.21894.0
# or 
yarn add @auto-canary/bot-list@10.15.0-canary.1776.21894.0
yarn add @auto-canary/auto@10.15.0-canary.1776.21894.0
yarn add @auto-canary/core@10.15.0-canary.1776.21894.0
yarn add @auto-canary/package-json-utils@10.15.0-canary.1776.21894.0
yarn add @auto-canary/all-contributors@10.15.0-canary.1776.21894.0
yarn add @auto-canary/brew@10.15.0-canary.1776.21894.0
yarn add @auto-canary/chrome@10.15.0-canary.1776.21894.0
yarn add @auto-canary/cocoapods@10.15.0-canary.1776.21894.0
yarn add @auto-canary/conventional-commits@10.15.0-canary.1776.21894.0
yarn add @auto-canary/crates@10.15.0-canary.1776.21894.0
yarn add @auto-canary/docker@10.15.0-canary.1776.21894.0
yarn add @auto-canary/exec@10.15.0-canary.1776.21894.0
yarn add @auto-canary/first-time-contributor@10.15.0-canary.1776.21894.0
yarn add @auto-canary/gem@10.15.0-canary.1776.21894.0
yarn add @auto-canary/gh-pages@10.15.0-canary.1776.21894.0
yarn add @auto-canary/git-tag@10.15.0-canary.1776.21894.0
yarn add @auto-canary/gradle@10.15.0-canary.1776.21894.0
yarn add @auto-canary/jira@10.15.0-canary.1776.21894.0
yarn add @auto-canary/magic-zero@10.15.0-canary.1776.21894.0
yarn add @auto-canary/maven@10.15.0-canary.1776.21894.0
yarn add @auto-canary/microsoft-teams@10.15.0-canary.1776.21894.0
yarn add @auto-canary/npm@10.15.0-canary.1776.21894.0
yarn add @auto-canary/omit-commits@10.15.0-canary.1776.21894.0
yarn add @auto-canary/omit-release-notes@10.15.0-canary.1776.21894.0
yarn add @auto-canary/pr-body-labels@10.15.0-canary.1776.21894.0
yarn add @auto-canary/released@10.15.0-canary.1776.21894.0
yarn add @auto-canary/s3@10.15.0-canary.1776.21894.0
yarn add @auto-canary/slack@10.15.0-canary.1776.21894.0
yarn add @auto-canary/twitter@10.15.0-canary.1776.21894.0
yarn add @auto-canary/upload-assets@10.15.0-canary.1776.21894.0
yarn add @auto-canary/vscode@10.15.0-canary.1776.21894.0

@adierkens adierkens added the minor Increment the minor version when merged label Feb 4, 2021
@codecov
Copy link

codecov bot commented Feb 4, 2021

Codecov Report

Merging #1776 (c64608a) into main (fed8a9b) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1776      +/-   ##
==========================================
+ Coverage   80.21%   80.22%   +0.01%     
==========================================
  Files          64       64              
  Lines        4978     4981       +3     
  Branches     1145     1146       +1     
==========================================
+ Hits         3993     3996       +3     
  Misses        671      671              
  Partials      314      314              
Impacted Files Coverage Δ
packages/core/src/types.ts 100.00% <ø> (ø)
packages/cli/src/parse-args.ts 97.43% <100.00%> (+0.06%) ⬆️
packages/core/src/auto.ts 77.98% <100.00%> (+0.05%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fed8a9b...c64608a. Read the comment docs.

@hipstersmoothie hipstersmoothie merged commit e8efd04 into main Feb 4, 2021
@hipstersmoothie hipstersmoothie deleted the force-next branch February 4, 2021 01:35
@adierkens
Copy link
Collaborator

🚀 PR was released in v10.15.0 🚀

@adierkens adierkens added the released This issue/pull request has been released. label Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants