Skip to content

Commit

Permalink
1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Dec 24, 2015
1 parent e6d3b3f commit 2c87c33
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.3 (December 25, 2015)

- Fix readme in release

## 1.0.2 (December 25, 2015)

- Make `assert.async()` work (thanks to @wuzyk)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "yatra",
"title": "Yatra",
"description": "Yatra – user friendly unit-test runner",
"version": "1.0.2",
"version": "1.0.3",
"main": "src/reporter.html",
"homepage": "https://github.com/basisjs/yatra",
"repository": {
Expand Down
6 changes: 4 additions & 2 deletions scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,14 @@ run('git', ['clone', '--depth', '1', 'https://github.com/basisjs/yatra-build.git
rm(TMP_FOLDER + '/lib.html');

console.log('# Build app');
run('basis', buildCmd.concat('--same-filenames'),
function(){
run('basis', buildCmd.concat('--same-filenames'), function(){
console.log('# Set version in package.json & bower.json');
replaceInFile(TMP_FOLDER + '/package.json', versionRx, '$1' + version + '"');
replaceInFile(TMP_FOLDER + '/bower.json', versionRx, '$1' + version + '"');

console.log('# Copy readme');
fs.writeFileSync(TMP_FOLDER + '/README.md', fs.readFileSync('./README.md', 'utf-8'));

process.chdir(TMP_FOLDER);
console.log('# Commit changes');
run('git', ['add', '.'], function(){
Expand Down

0 comments on commit 2c87c33

Please sign in to comment.