-
Notifications
You must be signed in to change notification settings - Fork 85
Making a New Release
null-a edited this page Apr 1, 2019
·
2 revisions
-
Follow the instructions at http://docs.webppl.org/en/master/development/npm.html to update Github and the npm package.
-
Visit https://github.com/probmods/webppl/releases, edit the new tag, adding any release notes. (This will mark the tag as the latest release on GitHub.)
-
Upload to CDN using
grunt bundle
and./scripts/cdnUpload
. This requires Amazon credentials in.aws/credentials
. -
Rename the file on AWS e.g. from
webppl-v0.9.15-430b433d.js
towebppl-v0.9.15.js
. (Or rather, update thecdnUpload
script to also create the file without hash.) -
Update the
<script src="http://cdn.webppl.org/webppl-v0.9.15.js"></script>
link on the following two pages:
- https://github.com/probmods/webppl/blob/gh-pages/index.html
- https://github.com/forestdb/forestdb.org/blob/gh-pages/_layouts/default.html
- Wait a bit and check that http://webppl.org and http://forestdb.org use the latest version and still work. For Forest, run some model that doesn’t specify its version, e.g. http://forestdb.org/models/adjectives-qud.html