Skip to content

Commit

Permalink
feat(hugo): upgrade Hugo to v0.18.1 (fenneclab#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
satoshun00 authored Jan 15, 2017
1 parent 37b644a commit ac5f5ae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ See the [Hugo Documentation](https://gohugo.io/) for more information.

| hugo-bin version | Hugo version |
|:-----------------:|:------------:|
| ^0.5.0 | v0.18.1 |
| ^0.4.0 | v0.17 |
| ^0.3.0 | v0.16 |

Expand Down
8 changes: 4 additions & 4 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ const binName = (binNameMap[process.platform] && binNameMap[process.platform][pr
module.exports = new BinWrapper()
.src(`${baseUrl}hugo_${hugoVersion}_FreeBSD-32bit.zip`, 'freebsd', 'x86')
.src(`${baseUrl}hugo_${hugoVersion}_FreeBSD-64bit.zip`, 'freebsd', 'x64')
.src(`${baseUrl}hugo_${hugoVersion}_freebsd_arm.zip`, 'freebsd', 'arm')
.src(`${baseUrl}hugo_${hugoVersion}_FreeBSD_ARM.zip`, 'freebsd', 'arm')
.src(`${baseUrl}hugo_${hugoVersion}_Linux-32bit.tar.gz`, 'linux', 'x86')
.src(`${baseUrl}hugo_${hugoVersion}_Linux-64bit.tar.gz`, 'linux', 'x64')
.src(`${baseUrl}hugo_${hugoVersion}_linux_arm.tar.gz`, 'linux', 'arm')
.src(`${baseUrl}hugo_${hugoVersion}_MacOS-32bit.zip`, 'darwin', 'x86')
.src(`${baseUrl}hugo_${hugoVersion}_MacOS-64bit.zip`, 'darwin', 'x64')
.src(`${baseUrl}hugo_${hugoVersion}_Linux_ARM.tar.gz`, 'linux', 'arm')
.src(`${baseUrl}hugo_${hugoVersion}_macOS-32bit.zip`, 'darwin', 'x86')
.src(`${baseUrl}hugo_${hugoVersion}_macOS-64bit.zip`, 'darwin', 'x64')
.src(`${baseUrl}hugo_${hugoVersion}_Windows-32bit.zip`, 'win32', 'x86')
.src(`${baseUrl}hugo_${hugoVersion}_Windows-64bit.zip`, 'win32', 'x64')
.dest(path.join(__dirname, '../vendor'))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "hugo-bin",
"version": "0.4.0",
"hugoVersion": "0.17",
"hugoVersion": "0.18.1",
"description": "Binary wrapper for Hugo",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit ac5f5ae

Please sign in to comment.