Skip to content

Commit 3f9802f

Browse files
authored
Merge pull request #5 from ashblue/develop
Release Candidate
2 parents 2354bb1 + f94a140 commit 3f9802f

File tree

7 files changed

+253
-5
lines changed

7 files changed

+253
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ sysinfo.txt
3838
# Node.js
3939
node_modules
4040
dist
41+
dist.zip

.releaserc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
{
2323
"assets": [
2424
{
25-
"path": "dist/**/*",
26-
"label": "Build"
25+
"path": "dist.zip",
26+
"label": "Package Build"
2727
}
2828
]
2929
}

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ node_js:
44
install:
55
- npm install
66
script:
7-
# - commitlint-travis
7+
- commitlint-travis
88
- npm run semantic-release

Assets/FluidBehaviorTree/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.fluid.behavior-tree",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"displayName": "Fluid Behavior Tree",
55
"description": "A micro-framework for creating Behavior Trees based upon the builder pattern",
66
"unity": "2018.1",

create-dist.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const del = require('del');
22
const copyDir = require('copy-dir');
33
const fs = require('fs');
4+
const {zip} = require('zip-a-folder');
45

56
const OUTPUT = 'dist';
67
const SOURCE = 'Assets/FluidBehaviorTree';
@@ -16,6 +17,7 @@ async function init () {
1617
copyFiles();
1718
crossPopulatePackages();
1819
fs.copyFileSync(`${SOURCE}/package.json`, `${OUTPUT}/package.json`);
20+
await zip(OUTPUT, `${OUTPUT}.zip`);
1921

2022
console.log(`Copied files from ${SOURCE} to ${OUTPUT}`);
2123
}

0 commit comments

Comments
 (0)