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

chore: enhance release script #1735

Merged
merged 2 commits into from May 8, 2020
Merged

chore: enhance release script #1735

merged 2 commits into from May 8, 2020

Conversation

kiaking
Copy link
Member

@kiaking kiaking commented Apr 28, 2020

This PR updates the release script to better support the workflow, such as server validation and such.

Most of the code as taken from Vue 3 release script, but with minor update, which is it lets us select the release tag (latest or next).

@kiaking kiaking added the enhancement New feature or request label Apr 28, 2020
@kiaking kiaking requested a review from ktsn April 28, 2020 07:13
@kiaking kiaking self-assigned this Apr 28, 2020
'next'
]

const inc = (i) => semver.inc(currentVersion, i, 'alpha')
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
const inc = (i) => semver.inc(currentVersion, i, 'alpha')
const inc = (i) => semver.inc(currentVersion, i, 'beta')

Should be beta?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah right! Thanks!

Copy link
Member Author

Choose a reason for hiding this comment

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

I've removed this argument. Since it wasn't being used. We can use custom option in the selection when we need to release such a custom release 👍

scripts/release.js Outdated Show resolved Hide resolved
@kiaking
Copy link
Member Author

kiaking commented May 8, 2020

@ktsn Updated 🤝

Copy link
Member

@ktsn ktsn left a comment

Choose a reason for hiding this comment

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

LGTM!

@ktsn ktsn merged commit 71372c3 into dev May 8, 2020
@ktsn ktsn deleted the release-script branch May 8, 2020 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants