提交 e4ae57dc 编写于 作者: J Jerome Etienne

Last commit before release

上级 b1fecb74
......@@ -223,3 +223,32 @@ Credits: @HelloDeadline, @sorianog
# FAQ
[FAQ.md](docs/FAQ.md)
# How To Release ?
This one is mainly for [me](@jerome_etienne) to remember :)
```bash
# replace REVISION to the proper version
atom three.js/threex-artoolkitcontext.js package.json
# Rebuild a-frame and webvr-polyfill
make build
# Commit everything
git add . && git commit -a -m 'Last commit before release'
# tag the release
git tag 1.0.0
# push the tag on github
git push origin --tags
# update npm package.json
npm publish
# update the a-frame codepen
open "https://codepen.io/jeromeetienne/pen/mRqqzb?editors=1000#0"
```
......@@ -5205,7 +5205,7 @@ Object.assign( ARjs.Context.prototype, THREE.EventDispatcher.prototype );
// ARjs.Context.baseURL = '../'
// default to github page
ARjs.Context.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/'
ARjs.Context.REVISION = '1.0.1-dev'
ARjs.Context.REVISION = '1.4.8'
......@@ -12,6 +12,7 @@
</div>
<!-- Define your scene -->
<a-scene embedded arjs='trackingMethod: best; debugUIEnabled: true;'>
<!-- download yours assets -->
<a-assets>
<a-asset-item id="tree-obj" src="models/little-fox/model.obj"></a-asset-item>
<a-asset-item id="tree-mtl" src="models/little-fox/materials.mtl"></a-asset-item>
......
<!-- Augmented Reality on the Web in 10 lines of html! https://github.com/jeromeetienne/ar.js -->
<script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script>
<script src="../build/aframe-ar.min.js"></script>
<body style='margin : 0px; overflow: hidden;'>
<a-scene embedded arjs='sourceType: webcam;'>
<a-box position='0 0.5 0' material='opacity: 0.5;'></a-box>
<a-marker-camera preset='hiro'></a-marker-camera>
</a-scene>
</body>
{
"name": "ar.js",
"version": "1.0.0",
"version": "1.4.8",
"description": "Efficient Augmented Reality for the Web",
"main": "three.js",
"scripts": {
......
......@@ -5205,7 +5205,7 @@ Object.assign( ARjs.Context.prototype, THREE.EventDispatcher.prototype );
// ARjs.Context.baseURL = '../'
// default to github page
ARjs.Context.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/'
ARjs.Context.REVISION = '1.0.1-dev'
ARjs.Context.REVISION = '1.4.8'
......@@ -73,7 +73,7 @@ Object.assign( ARjs.Context.prototype, THREE.EventDispatcher.prototype );
// ARjs.Context.baseURL = '../'
// default to github page
ARjs.Context.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/'
ARjs.Context.REVISION = '1.0.1-dev'
ARjs.Context.REVISION = '1.4.8'
......
......@@ -5205,7 +5205,7 @@ Object.assign( ARjs.Context.prototype, THREE.EventDispatcher.prototype );
// ARjs.Context.baseURL = '../'
// default to github page
ARjs.Context.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/'
ARjs.Context.REVISION = '1.0.1-dev'
ARjs.Context.REVISION = '1.4.8'
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册