Commit Graph

27 Commits (7164aeb65b9f39a0c3848e69fa6c07905995ae16)

Author SHA1 Message Date
Robin 46c005a5d3
Don't hardcode /bin/bash in scripts (#23740)
Some operating systems, such as NixOS, don't place binaries in /bin. The appropriate cross-platform method is to use /usr/bin/env.
2022-11-09 09:58:06 -05:00
Michael Telatynski 94efdd9f54
Simplify releases: consolidate scripts (#23145)
* Remove stale comment re dependency

* Move npm publishing from release.sh to GHA

* Consolidate release subproject upgrade management

* Update release_config.yaml
2022-09-06 12:10:31 +01:00
Michael Telatynski 745140e9e7
Remove stale release.sh parameter for no-jsdoc (#22255) 2022-05-25 20:55:53 +00:00
J. Ryan Stinnett 40998b799a Stop publishing Element to NPM
It generally does not make much sense to publish an entire application like this
to NPM, so we've agreed to stop doing so going forward.

Fixes https://github.com/vector-im/element-web/issues/14902
2020-11-24 15:52:39 +00:00
J. Ryan Stinnett 78dd07cbfd Skip editor confirmation of upgrades
In practice, the upgrades are always fine, and this editor prompt just adds
delays.
2020-10-20 11:57:02 +01:00
Resynth 8947f160b8 Update release.sh
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2020-07-17 13:04:55 +01:00
Resynth e367690e4b Update release.sh 2020-07-17 13:04:03 +01:00
RiotRobot 8bf9635fc8 Remove Electron steps from release script 2020-05-14 16:40:25 +01:00
RiotRobot b52b0f525f Log packages when checking version 2020-03-04 12:00:37 +00:00
J. Ryan Stinnett 106ed43f36 Remove exec so release script continues
We now want to do post-processing after the JS SDK release script, so we can't
use `exec` here.
2020-02-20 12:10:26 +00:00
J. Ryan Stinnett 585d40f4c1 Reset SDK deps back to develop after a release
This automates the (frequently forgotten) step of resetting SDK deps back to the
develop branch after merging the release to develop.
2020-02-14 12:21:54 +00:00
J. Ryan Stinnett a26bd6ef94 Add auto-upgrade support for SDK deps
This automates the SDK upgrade step of the release process.
2020-02-14 11:43:08 +00:00
J. Ryan Stinnett aa95dcc0cb Check the `next` tag when looking for the latest version 2020-02-14 11:04:39 +00:00
David Baker 9280d1ff49 yarn neds --new-version to make a new version 2019-03-13 14:57:52 +00:00
J. Ryan Stinnett 1312ba537a Update scripts and docs to use `yarn` where appropriate
Most `npm` operations are replaced with `yarn`, which generally has better
behavior. However, steps like publish that write to the NPM registry are left to
`npm`, which currently handles these tasks best.
2019-03-12 11:06:57 +00:00
David Baker 021d6c5908 Add npm user arg for https://github.com/matrix-org/matrix-js-sdk/pull/749 2019-01-17 11:06:41 +00:00
David Baker aaa9c82758
Revert "also commit the lock file when bumping version as it is now committed to the repo" 2018-10-11 16:01:56 +01:00
Bruno Windels 4de63e612d also commit the lock file when bumping version as it is now committed to the repo 2018-10-01 17:18:31 +02:00
David Baker d5a07a446d typo 2018-04-26 12:55:12 +01:00
David Baker 7232c01a80 Fix args in the release wrapper script
It was assuming the version was always $1 which meant there was no
way to pass options (eg. -x to skip changelog generation) through
to the underlying release script without breaking the wrapper
script.
2018-04-26 12:07:02 +01:00
Luke Barnard c07c060b7d Fix jq command to use [] instead of ."matrix-js-sdk"
Because otherwise there might be a syntax error looking like
```
error: syntax error, unexpected QQSTRING_START, expecting IDENT
.dependencies."matrix-js-sdk"
```
2017-08-16 10:22:09 +01:00
David Baker 68a39b2783 Update process to not set deps to #develop
Update README instructions and add checks to release script to
prevent us forgetting to bump the versions of dependencies
(because the check in the main release script will only catch
references to #develop left in, which will no longer be the
failure mode).
2017-05-19 11:59:27 +01:00
Michael Telatynski c607b1bc89 npm is "smart" enough to try and install our electron wrapper as a module
instead of the actual electron package. With no way to ignore directories.
I'd like to think of this as temporary, until I get to rip apart riot-web
and riot-electron

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-05-10 13:36:27 +01:00
Michael Telatynski 8a50207189 Change shebang to bash for string manipulations
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-05-05 16:57:18 +01:00
Michael Telatynski f54708227e Proper two package.json format, release.sh bumps 2nd json ver too
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-05-05 16:54:55 +01:00
Richard van der Hoff 695b5d950c Prepare changelog for 0.4.0 2016-03-23 14:39:30 +00:00
Richard van der Hoff 17b2d14ffc Release script for vector-web 2016-03-23 14:15:22 +00:00