Files
hls.js/scripts/set-package-version.sh
Tom Jenkinson 87c3a3538e switch to node 18, unpin netlify-cli, and workaround npm ci then being broken (#5180)
* switch to node 18

which is now LTS

* unpin `netlify-cli`

* use `npm-ci-please` to workaound `npm ci` being broken

fixes #5115

* set version using `npm version`

which will also update the version in the package-lock

* be selective about what goes in artifact

to speed things up

* use newer `npm-ci-please`

* fix setting version on netlify

* fix permission on script

* listen on all interfaces for sauce labs

because otherwise with node 18 the server is not reachable through the proxy for some reason
2023-01-23 17:13:47 +00:00

7 lines
155 B
Bash
Executable File

#!/bin/bash
set -e
VERSION="$(node ./scripts/get-package-version.js)"
echo "Setting version to '$VERSION'"
npm version --git-tag-version false "$VERSION"