-
-
Notifications
You must be signed in to change notification settings - Fork 585
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
Update the release process to use github releases #271
Conversation
dbkr
commented
Nov 1, 2016
- Removes the 'dist' directory from the source tree, as it's a little strange keeping built artefacts from every version in the master branch.
- Build release assets at release time using the 'dist' script
- Use 'hub' to perform the actual release (ie. make the tag, except that it also uploads release assets)
Rather than to version specific directories beneath dist, since we're now not keeping every built version in the source tree. Also: * build the minified version at the same time, * Include rimraf so we can rm -r dist (npm has re-ordered the deps) * Exclude olm from the bundled file
and gitignore dist since we now just use it for build output.
Adds the 'dist' target for building assets for distribution, which the release script will run, uploading resulting files as release assets.
(which just runs npm build, but the presence of the dist script will inform the release process to run it and upload release assets)
@@ -6,7 +6,7 @@ coverage | |||
lib-cov | |||
out | |||
reports | |||
dist/browser-matrix-dev.js | |||
dist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/dist
please
your page. There will be a global variable ``matrixcs`` attached to | ||
``window`` through which you can access the SDK. | ||
Download either the full or minified version from | ||
https://github.com/dbkr/test/releases/latest and add that as a ``<script>`` to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the plan with dbkr/test ? Fix this after release?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c+p fail :(
prerelease=0 | ||
# We check if this build is a prerelease by looking to | ||
# see if the version has a hyphen in it. Crude, | ||
# but semver doesn't support postreleaseses so anything |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"postreleaseses" ?
Unreleased changes | ||
================== | ||
|
||
Breaking Changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not convinced that's a breaking change, reallly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it's not an API change, I erred on the side of caution and put it in just in case anyone is depending on them being in that place. wdyt?
ptal |
Rather than trying to use them and failing at annoying points
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm