Matthew Hodgson
f6622e0bcd
unbreak riot-web release process
2017-06-01 02:41:47 +01:00
Richard van der Hoff
672ad68c64
release.sh: download the tarball from git to verify it
2017-05-18 18:58:50 +01:00
David Baker
4523ae7d29
Checkout release branch *before* exiting script
2017-04-10 16:15:06 +01:00
David Baker
19e5eda773
Don't leave the gh-pages branch checked out
...
After a pre-release, check out the release branch again rather
than leaving the working copy on the gh-pages branch
2017-04-10 15:52:37 +01:00
David Baker
e63c660162
Fix release script
...
Publish to npm before switching to the doc branch: previously we
published from master, but since we now now longer merge
pre-releases to master, publish from the release branch (just
not the doc branch because that won't work).
2017-04-07 16:55:38 +01:00
David Baker
4388cc207f
Merge pull request #351 from matrix-org/rav/sign_source_tarball
...
Make a sig for source tarballs when releasing
2017-02-06 11:32:45 +01:00
Richard van der Hoff
3d9173a877
Make a sig for source tarballs when releasing
...
When we are doing a signed release, also create a sig for the 'archive' tarball
which github creates for us.
Fixes https://github.com/vector-im/riot-web/issues/3024 .
2017-02-04 11:10:40 +00:00
Richard van der Hoff
cb88f53587
When doing a pre-release, don't bother merging to master and develop.
...
This assumes that we'll eventually do a proper release (or merge the prerel
manually), and saves twiddling the package.json on downstream projects for each
prerelease.
2017-02-04 11:07:14 +00:00
Kegan Dougal
df7ac77113
Review comments
2017-01-04 13:57:51 +00:00
Kegan Dougal
1b222249c4
Reset ret before reusing it
2017-01-04 11:56:01 +00:00
Kegan Dougal
126967cb90
release.sh: Bail early if there are uncommitted changes
2017-01-04 11:47:33 +00:00
Kegan Dougal
05cbc217a0
Add more docs to explain how to do releases
2017-01-04 11:27:34 +00:00
Kegan Dougal
d6e4d0a417
Remove RELEASING.md
...
vdh says it is out of date and is misleading and should be removed, so removing it.
2017-01-04 11:16:59 +00:00
David Baker
456135a6ec
get latest changes after updating changelog
2016-12-16 17:39:24 +00:00
David Baker
d3b63c592e
Set GIT_COMITTER_EMAIL
...
so the release tag verifies correctly
2016-12-12 15:37:09 +00:00
David Baker
73e86bfc5d
Don't depend on having a build_dir
...
to get latest changes
2016-12-09 20:17:25 +00:00
David Baker
67e75fb7af
Invoke changelog_head from outside the pushd
...
so we know the relative path is right
2016-12-09 19:19:40 +00:00
David Baker
5ce5299651
Update release script to do signed releases
...
if a signing ID is set in release_config.yaml
Also set the release text to the relevant changelog entry
2016-12-09 17:04:19 +00:00
Matthew Hodgson
d8de23228f
actually speak valid git in release.sh
2016-11-19 01:51:19 +02:00
Matthew Hodgson
579218aafc
correctly crash out if jq or hub are missing
2016-11-19 01:25:36 +02:00
David Baker
47e12fcc3e
Use env var for dist version
...
Don't pass it as an arg because that really confuses npm scripts
that aren;t expecting an arg (npm it just blindly appends it).
2016-11-04 09:42:08 +00:00
David Baker
dcb987732c
Add version arg to the dist script
...
as per comment
2016-11-02 11:36:53 +00:00
David Baker
01593d1a69
Set the release branch variable
...
when using the current branch, otherwise we'll try to check out
the wrong thing
2016-11-02 10:25:47 +00:00
David Baker
97aeaec8d2
More fixes to the release script
...
* Don't create a new release branch if the current branch starts
with 'release'
* This is definitely a bash script at this point
* Fix update_changelog test
* Tabs
2016-11-02 09:56:00 +00:00
David Baker
d266486581
Check we have the various scripts
...
Rather than trying to use them and failing at annoying points
2016-11-01 16:48:16 +00:00
David Baker
c47d2fc750
too many ses(es)
2016-11-01 15:38:20 +00:00
David Baker
cc51805c39
Use github release in release.sh
...
Adds the 'dist' target for building assets for distribution,
which the release script will run, uploading resulting files
as release assets.
2016-11-01 14:34:48 +00:00
David Baker
7db6b9e490
Check dependencies aren't on develop in release.sh
2016-10-05 16:34:36 +01:00
Matthew Hodgson
4bec72a2bd
make release work on OSX
2016-06-02 18:02:47 +01:00
Richard van der Hoff
cdea96fa0a
Release script tweaks
...
- be more helpful if update_changelog is not installed
- behave sanely if v is omitted on tag arg
2016-03-23 14:50:03 +00:00
Richard van der Hoff
e6e5b9b748
release.sh: fix -z option
2016-03-17 01:33:51 +00:00
Richard van der Hoff
9ad031c857
Make changelog file and jsdoc generation switchable
2016-03-17 01:27:48 +00:00
Richard van der Hoff
a0d465cb34
Merge master to develop after release
2016-03-17 01:12:39 +00:00
Richard van der Hoff
53f813207e
Add option to skip changelog generation
2016-03-17 00:45:39 +00:00
Richard van der Hoff
873fde27ac
Don't error if changelog is unchanged
2016-03-17 00:33:01 +00:00
Richard van der Hoff
8d9d638953
release.sh: fix 'read' syntax
2016-03-17 00:22:37 +00:00
Richard van der Hoff
2f93490054
Don't create release branch if we're already there
2016-03-17 00:19:30 +00:00
Richard van der Hoff
e22efc9dd5
release.sh: chmod +x
2016-03-16 23:40:44 +00:00
Richard van der Hoff
e7ac80cf2b
Script to do releases
2016-03-16 23:12:38 +00:00