fixed tests, finalizing the scripts (sorry for all the commits -.-)
This commit is contained in:
parent
57cf20555f
commit
e9ac59dcf8
2
dist
2
dist
@ -1 +1 @@
|
|||||||
Subproject commit 414288148f2c148a4ae4de51db4b29ad0dcbc6d1
|
Subproject commit 33b7588497538d07a514b3be4cfe53e26fc366a4
|
16
gulpfile.js
16
gulpfile.js
@ -129,17 +129,17 @@ gulp.task('deploy:bump', function () {
|
|||||||
.pipe(gulp.dest('./'))
|
.pipe(gulp.dest('./'))
|
||||||
})
|
})
|
||||||
|
|
||||||
gulp.task('deploy', ['deploy:updateSubmodule', 'deploy:bump', 'deploy:build', 'deploy:copy'], function () {
|
gulp.task('deploy', ['test', 'deploy:updateSubmodule', 'deploy:bump', 'deploy:build', 'deploy:copy'], function () {
|
||||||
return gulp.src('./package.json', {read: false})
|
return gulp.src('./package.json', {read: false})
|
||||||
.pipe(shell([
|
.pipe(shell([
|
||||||
|
'standard',
|
||||||
'echo "Deploying version <%= getVersion(file.path) %>"',
|
'echo "Deploying version <%= getVersion(file.path) %>"',
|
||||||
'cd ./dist/',
|
'git pull',
|
||||||
'git add -A',
|
'cd ./dist/ && git add -A',
|
||||||
'git commit -am "Deploy <%= getVersion(file.path) %>" -n',
|
'cd ./dist/ && git commit -am "Deploy <%= getVersion(file.path) %>" -n',
|
||||||
'git push',
|
'cd ./dist/ && git push',
|
||||||
'git tag -a v<%= getVersion(file.path) %> -m "Release <%= getVersion(file.path) %>"',
|
'cd ./dist/ && git tag -a v<%= getVersion(file.path) %> -m "Release <%= getVersion(file.path) %>"',
|
||||||
'git push origin --tags',
|
'cd ./dist/ && git push origin --tags',
|
||||||
'cd ..',
|
|
||||||
'git commit -am "Release <%= getVersion(file.path) %>" -n',
|
'git commit -am "Release <%= getVersion(file.path) %>" -n',
|
||||||
'git push'
|
'git push'
|
||||||
], {
|
], {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "yjs",
|
"name": "yjs",
|
||||||
"version": "0.6.22",
|
"version": "0.6.23",
|
||||||
"description": "A framework for real-time p2p shared editing on arbitrary complex data types",
|
"description": "A framework for real-time p2p shared editing on arbitrary complex data types",
|
||||||
"main": "y.js",
|
"main": "y.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -16,6 +16,7 @@
|
|||||||
"parser": "babel-eslint",
|
"parser": "babel-eslint",
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"build/**",
|
"build/**",
|
||||||
|
"dist/**",
|
||||||
"./y.js",
|
"./y.js",
|
||||||
"./y.js.map"
|
"./y.js.map"
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user