Compare commits

...

2 Commits

Author SHA1 Message Date
Bret Comnes
2467473b67 1.0.5 2020-02-18 11:27:07 -07:00
Bret Comnes
24cfb5bc53 bug: fix internal stat check bug 2020-02-18 11:26:19 -07:00
3 changed files with 8 additions and 2 deletions

View File

@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
## [v1.0.5](https://github.com/bcomnes/deploy-to-neocities/compare/v1.0.4...v1.0.5) - 2020-02-18
### Commits
- bug: fix internal stat check bug [`24cfb5b`](https://github.com/bcomnes/deploy-to-neocities/commit/24cfb5bc53d4ab90387a5209282f0a30a06a6134)
## [v1.0.4](https://github.com/bcomnes/deploy-to-neocities/compare/v1.0.3...v1.0.4) - 2020-02-18
### Commits

View File

@@ -12,7 +12,7 @@ async function doDeploy () {
const cleanup = JSON.parse(core.getInput('cleanup'))
assert(typeof cleanup === 'boolean', 'Cleanup input must be a boolean "true" or "false"')
const stat = await fsp.stat()
const stat = await fsp.stat(distDir)
assert(stat.isDirectory(), 'dist_dir must be a directory that exists')
const client = new Neocities(token)

View File

@@ -1,6 +1,6 @@
{
"name": "deploy-to-neocities",
"version": "1.0.4",
"version": "1.0.5",
"description": "Github Action to deplpoy a folder to Neocities.org",
"main": "index.js",
"private": true,