Commit Graph

115 Commits

Author SHA1 Message Date
Tom Jenkinson 694d14b57c fix the canary version in set-package-version.js 2020-11-03 18:26:31 +00:00
Tom Jenkinson 115ffdaa14 alpha => canary 2020-11-03 17:52:28 +00:00
Tom Jenkinson 544b4ba07c npm/github release with github action and remove travis 2020-11-01 13:57:38 +00:00
Tom Jenkinson 90b8bdbbeb remove Netlify from travis 2020-10-31 15:16:24 +00:00
Tom Jenkinson 679b70947b set permissions on netlify.sh 2020-10-31 14:22:00 +00:00
Tom Jenkinson a4b23a648b deploy versioned netlify builds from gh-action 2020-10-31 14:15:20 +00:00
Tom Jenkinson d1c383e33c stop running functional tests on travis 2020-10-27 21:45:00 +00:00
Rob Walch f61ab8a688 Use npm sauce-connect-launcher in functional tests run on travis 2020-09-10 18:39:16 -04:00
Tom Jenkinson b70ecbb1e2 update message
Co-authored-by: Rob Walch <robwalch@users.noreply.github.com>
2020-07-01 19:00:59 +01:00
Tom Jenkinson f6212deca1 always check version is greater than previous 2020-07-01 18:02:57 +01:00
Rob Walch 90cf214d1a Fix travis "release" build 2020-07-01 11:42:15 -04:00
Tom Jenkinson dc627221b8 include PR number in pr versions 2020-06-30 21:13:02 +01:00
Rob Walch 9a7aa0b624 Fix semver.inc 2020-06-30 14:58:57 -04:00
Tom Jenkinson 9b962967c8 Merge branch 'master' into task/semver-deployments 2020-06-23 18:11:14 +01:00
Tom Jenkinson d058eddaf8 switch to alpha instead of canary and ensure alphas have lower precedense than manual tags
Switching to alpha instead of canary because the semver sorting algorithm is alphabetic and the automated release should always have a lower precendence than manual ones.

Always prefix to the last version even when it's a prerelease so that the ordering is correct, and so that automated alpha releases are able to take precendence over manual ones when new commits are pushed.

Make the prefix `0.alpha` instead of just `alpha` so that it's easy to check if a manual version could be lower than an existing alpha version without dissalowing things like `-rc.0`

See discussion in #2822
2020-06-23 18:10:17 +01:00
Rob Walch 82fbefd9ce Tag canaries as alpha releases and append alpha revision to latest version in ci builds 2020-06-22 17:03:53 -04:00
Rob Walch 5517830271 Add semver meta tags to latest (pre-)release version for deployments 2020-06-21 13:01:53 -04:00
Tom Jenkinson 3ec2e6d269 do not manuall deploy netlify hls-js-latest anymore
because hls-js-dev now automatically builds master.

hls-js-latest now redirects to hls-js-dev
2020-06-21 12:02:06 +01:00
Tom Jenkinson 11eccd90c8 also update netlify domain in link text 2020-06-19 23:22:22 +01:00
Tom Jenkinson 44af2907f5 Revert "install chromium and run unit tests on netlify"
This reverts commit ac097ecf61.
2020-06-19 23:09:37 +01:00
Tom Jenkinson 9e574eb5b2 Revert "provide CHROME_BIN for tests"
This reverts commit 70f083f8b7.
2020-06-19 23:09:34 +01:00
Tom Jenkinson e9e0f5bb34 Revert "lock chromium package to v2"
This reverts commit 594599e6f2.
2020-06-19 23:09:32 +01:00
Tom Jenkinson 594599e6f2 lock chromium package to v2 2020-06-19 23:07:05 +01:00
Tom Jenkinson 70f083f8b7 provide CHROME_BIN for tests 2020-06-19 23:03:49 +01:00
Tom Jenkinson 10a7623295 ensure branch contains valid characters 2020-06-19 22:57:57 +01:00
Tom Jenkinson ac097ecf61 install chromium and run unit tests on netlify 2020-06-19 22:52:17 +01:00
Tom Jenkinson 5cf997dfcb don't run unit tests on netlify 2020-06-19 22:51:52 +01:00
Tom Jenkinson f12d5c425c update netlify domain 2020-06-19 21:09:20 +01:00
Tom Jenkinson a37dcb6570 updating netlify setup
- also run the unit tests in the netlify builds
- `hls-js-pr` site will now build branches in addition to prs, and for branches `TRAVIS_MODE` should be `netlifyBranch`
- for netlify branch builds the version will be of the form `a.b.c-branch-<branch name>`
2020-06-19 21:01:47 +01:00
Jamie Stackhouse 09bf11214b Remove build:types from release job. 2019-12-17 14:35:48 -04:00
Jamie Stackhouse 963acc52d6 Remove TypeScript types build step
This makes it so until we are ready to flip the switch on adding types, there won't be conflicting Typescript definitions for users that are using `@types/hls.js`.
2019-12-17 09:33:33 -04:00
Rob Walch efdaedfe16 Add "sanity-check" package script
Run docs in travis build
Fix type check errors
2019-10-17 19:41:23 -04:00
Tom Jenkinson 8556df5958 use npm ci instead of npm install
because this is quicker, but also validates that the package-lock is in sync with the package.json

Without this anything in the package.json that is out of sync with the package-lock gets silently updated and the integrity is not checked
2019-10-05 18:27:33 +01:00
Tom Jenkinson 3679dd5b7b also attempt to build docs on travis
so that errors aren't missed
2019-09-25 19:19:10 +01:00
Tom Jenkinson 5ea6526929 less verbose webpack output on CI
because there is so much that it causes the end of the logs to be truncated on netlify
2019-09-25 19:18:35 +01:00
Tom Jenkinson 2bf8ec600d ensure we fetch master before getting the latest commit (#2319)
* ensure we fetch master before getting the latest commit

* remove pointless line
2019-07-26 18:10:16 -04:00
Tom Jenkinson a9194386f0 require tag to start with letter 2019-06-23 16:22:24 +02:00
Tom Jenkinson 19b0c60e61 add missing v
Co-Authored-By: azu <azu@users.noreply.github.com>
2019-06-23 16:18:50 +02:00
Tom Jenkinson 591d59bd34 support preprelease publishes from git tag
in a similar way to how stable releases work
2019-06-23 12:41:02 +02:00
Tom Jenkinson f33208f2ea use netlify endpoint that includes team
so that the sites are created under the new team that has the open source account policy

https://open-api.netlify.com/#/default/createSiteInTeam
2019-04-10 23:45:58 +02:00
Jamie Stackhouse e6c21f941e Config typescript (#2181)
Adds typing to the default HlsConfig.

Additionally provides controller-based config types to use for type narrowing controller configuration to its own subset of configuration properties from the exposed public interface.

Added Webpack DefinePlugin constants in their own declaration file to be used in other files as well.

A test stream from #1909 started to 404, reached out to author of issue to see if we could move this stream somewhere for continued use.

Esdoc plugin was required so that documentation could continue to be produced. The AST parser took issue with the object rest spreading.
2019-03-24 14:35:07 -03:00
Tom Jenkinson 8d9933db9e fix error in deploy script 2019-03-13 19:53:31 +01:00
Tom Jenkinson 9a4e5e51ae only deploy hlsjs-latest when we are on newest master commit (#2169) 2019-03-13 13:49:49 -04:00
Tom Jenkinson e2e71c7128 always trim command output 2019-01-27 11:13:18 +01:00
Tom Jenkinson f69bf3e473 add commit to version when PR 2019-01-27 11:06:51 +01:00
Tom Jenkinson a8f99c4e01 tabs => spaces 2019-01-27 00:04:12 +01:00
Tom Jenkinson 35c4553e8f handle 'netlifyPr' in set-package-version 2019-01-26 18:27:06 +01:00
Tom Jenkinson e5a3a78cc5 check if repo is shallow before fetching
because on netlify it clones the whole thing
2019-01-26 18:08:41 +01:00
Tom Jenkinson d93d453955 configure netlify for PR's
this follows the same process that runs for canary releases
2019-01-26 17:57:06 +01:00
Tom Jenkinson ee97e11fe6 use the version from package.json when deploying
and include this in the deployments readme
2018-12-22 17:08:06 +01:00