Skip to content

Commit

Permalink
Merge pull request #6 from UFHealth/release/0.3.1
Browse files Browse the repository at this point in the history
Fix path issue with generator
  • Loading branch information
friartuck6000 authored Feb 12, 2020
2 parents 51e9c75 + 44d259c commit 15b192d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

### 0.3.1 - 02/12/2020

**Fixed**
- Fix relative path to generator template

### 0.3.0 - 02/06/2020

**New**
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ Arguments:
Options:
--help Display this help message.
--version Print the current shipit version.
--generate=<name> Generate a YAML file for logging your changes.
--dry-run See what would happen if you ran this command IRL.
```

Expand Down
2 changes: 1 addition & 1 deletion lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ const bumpVersion = async (path, replacements, oldVersion, newVersion, dryRun =
const generateLogYml = async (fileName, config) => {
const purifiedName = fileName.replace(/\s+/g, '-').toLowerCase() + '.yml'
console.log(chalk.green('⚙️ Generating...'))
await fs.copy(path.resolve('./lib/template.yml'), config.source + '/' + purifiedName)
await fs.copy(__dirname + '/template.yml', config.source + '/' + purifiedName)
console.log(chalk.green('✅ ' + config.source + '/' + purifiedName))
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ufhealth/shipit",
"version": "0.3.0",
"version": "0.3.1",
"description": "Release stuff real easy",
"license": "MIT",
"author": "UFHealth Web Services <[email protected]>",
Expand Down

0 comments on commit 15b192d

Please sign in to comment.