Commit Graph

12 Commits

Author SHA1 Message Date
Martin von Gagern
5783e193ed Update CDN version numbers and SRI hashes on release 2017-01-13 13:43:41 +01:00
Martin von Gagern
961e9db514 Add --dry-run and --insane options to release script
Now we have some sanity checks, a way to skip them and a way to see which
commands would be executed on the git and npm side without actually
executing them.
2017-01-13 13:38:39 +01:00
Martin von Gagern
35ff154ead Make release tag an annotated tag
It is customary to use annotated tags for releases, to preserve the
information about when the tag itself was created, by whom and for what
purpose.  In our case we always have a commit directly before the tag, but
some workflows may expect annotated tags nonetheless, “git describe” among
them.  We might want to sign them one day, too.
2017-01-13 13:38:39 +01:00
Martin von Gagern
6404cfd269 Drop version field from bower.json
According to bower docs, that field is deprecated and ignored.
Git tag names (or commit ids) are the way to identify a given version.
2017-01-13 13:38:39 +01:00
Martin von Gagern
a3988d9d56 Allow creating releases from branches other than master 2017-01-13 13:38:39 +01:00
Martin von Gagern
840771c643 Un-ignore dist directory on releases for the sake of bower 2017-01-13 13:38:39 +01:00
Emily Eisenberg
225baffef4 And make the release script actually work again.
Summary: The previous commit made the `sed` lines do the same thing on mac and
linux. Unfortunately they didn't actually work. Whoops.

Test Plan:
 - Run `./release.sh` a couple times and become horribly confused before
   realizing what's going on.

@kevinb
2017-01-06 19:47:47 -08:00
Emily Eisenberg
4327e85796 Make the release script compatible with both mac and linux
Curse you BSD and GNU sed being so different!

Test Plan:
 - Run `sed -i.bak -e 's|boo|blah|' blah` on both a linux and mac computer

@kevinb
2017-01-06 19:32:22 -08:00
Emily Eisenberg
b62e1cf314 Make the release script correctly link to the new release page.
Test Plan:
 - Cross fingers!

Auditors: kevinb
2016-04-15 18:30:31 -07:00
Kevin Barabash
aa36c459ae don't do any linting/checking of the release commits
Summary:
We prevent any precommit checks so that we don't have to include
a "Test Plan" etc. in the release commit message.

Test Plan:
- ./release.sh 0.6.0 0.7.0

Auditors: emily
2016-04-15 18:14:13 -07:00
Kevin Barabash
36164b98ea Make it compatible with Mac
Test Plan:
- ./release 0.6.0 0.7.0

Auditors: emily
2016-04-15 18:09:14 -07:00
Emily Eisenberg
224efafda8 Add a release script.
Summary: Make the release script that's been floating around in my gists
for a while into a real script.

Test Plan:
 - Comment out all the scary bits (the two pushes, and `npm
   publish`), and run:
 - `./release.sh 0.6.0`
 - Checkout the `v0.6.0` tag, see that it successfully modified
   package.json and bower.json to version 0.6.0, and built and committed
   the rest of the files.
 - `git tag -d v0.6.0`
 - `./release.sh 0.6.0 0.7.0`
 - Checkout master, see that it successfully made a commit bumping
   package.json and bower.json to 0.7.0-pre.

Reviewers: @kevinbarabash
2016-04-15 12:19:16 -07:00