mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2026-01-25 12:22:17 +01:00
Compare commits
202 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e2d599a030 | ||
|
|
124585fe17 | ||
|
|
05899bf3aa | ||
|
|
506aeddc3a | ||
|
|
009b47c399 | ||
|
|
0815b8fb73 | ||
|
|
949a480ff9 | ||
|
|
cb7cd1e26d | ||
|
|
3fce776750 | ||
|
|
4ea3b500e2 | ||
|
|
fe90d2f50f | ||
|
|
62ebf73d5f | ||
|
|
a75d5eb670 | ||
|
|
4c53abd8fe | ||
|
|
336da8a2f2 | ||
|
|
ea8d9dba18 | ||
|
|
ea60fc1ec2 | ||
|
|
acacbff003 | ||
|
|
c66d90a3b2 | ||
|
|
02db58a779 | ||
|
|
abb5843560 | ||
|
|
7eea08803f | ||
|
|
4dadc2dfbe | ||
|
|
3498de4687 | ||
|
|
c55729fbd1 | ||
|
|
45d50caa20 | ||
|
|
b7f315e91b | ||
|
|
c8a33c5660 | ||
|
|
c80eb16e09 | ||
|
|
add0e7c051 | ||
|
|
43a340f6cd | ||
|
|
a6a0f2f7a8 | ||
|
|
f5dac6efe3 | ||
|
|
9229d6ea61 | ||
|
|
d242ef0982 | ||
|
|
86cd995322 | ||
|
|
8a97893cfe | ||
|
|
f73a43a95b | ||
|
|
0b1622da20 | ||
|
|
5a904d42d5 | ||
|
|
c581b131a6 | ||
|
|
c34a46e748 | ||
|
|
b5b805beb9 | ||
|
|
72aae0311c | ||
|
|
050785a91c | ||
|
|
6486bc9a78 | ||
|
|
ce3c331374 | ||
|
|
e04f62b1a5 | ||
|
|
050ab4fa3c | ||
|
|
57eddfaa48 | ||
|
|
cb23a85c9f | ||
|
|
b30237c8ce | ||
|
|
4cd0877e87 | ||
|
|
b71ad2d014 | ||
|
|
e470a760d3 | ||
|
|
1649bea4d0 | ||
|
|
a2600d572b | ||
|
|
1bafab6d5a | ||
|
|
601b110315 | ||
|
|
c1f369064c | ||
|
|
8cd28fc857 | ||
|
|
702a3e4c9a | ||
|
|
d7620db17f | ||
|
|
64135da123 | ||
|
|
35eb187a3c | ||
|
|
c3a324ff3c | ||
|
|
9b11300647 | ||
|
|
6bed4121ee | ||
|
|
b9b88c049f | ||
|
|
da65b73f4d | ||
|
|
33d3f73fc7 | ||
|
|
a3f7ea4140 | ||
|
|
61937d118f | ||
|
|
88076695a9 | ||
|
|
2935a38e76 | ||
|
|
c69c549ff8 | ||
|
|
9cdeeef2f3 | ||
|
|
7c9a227529 | ||
|
|
514a588dc1 | ||
|
|
ea7a8f0343 | ||
|
|
de4f7b1136 | ||
|
|
0d2e11837b | ||
|
|
703c21fa41 | ||
|
|
844e33d410 | ||
|
|
3d71d2403d | ||
|
|
c6512d44a3 | ||
|
|
d17d5099d6 | ||
|
|
61f1757c8c | ||
|
|
f9fbf81b0c | ||
|
|
cc6e8832e8 | ||
|
|
0a1c87ea74 | ||
|
|
4ce8f62edb | ||
|
|
f48589d80e | ||
|
|
9026a94533 | ||
|
|
c430dcefd1 | ||
|
|
bc46e4063a | ||
|
|
6eb91d4870 | ||
|
|
df77f4d6bd | ||
|
|
bbb82a999a | ||
|
|
1972405991 | ||
|
|
ef069a5b5b | ||
|
|
cb4de30fad | ||
|
|
a8e5979167 | ||
|
|
5fcc41dbee | ||
|
|
bb9d9fa49a | ||
|
|
88ecc3f3da | ||
|
|
41b2600c91 | ||
|
|
4eed9e4759 | ||
|
|
81b5611b7c | ||
|
|
231e402918 | ||
|
|
4de9b09ee4 | ||
|
|
45ee73c48d | ||
|
|
75c9bc6dc7 | ||
|
|
f3bcf96547 | ||
|
|
2331ecd733 | ||
|
|
266cd0f351 | ||
|
|
4a12696aca | ||
|
|
07c50afccc | ||
|
|
9d826a479b | ||
|
|
d56d87baca | ||
|
|
6b6e84ed73 | ||
|
|
8095fcb0f4 | ||
|
|
f802d7f38d | ||
|
|
8850dd5d86 | ||
|
|
da0b7ac273 | ||
|
|
b9e10c3e30 | ||
|
|
38f8dc8ba8 | ||
|
|
0dd325e0bc | ||
|
|
e35c200d21 | ||
|
|
1710cea6fb | ||
|
|
3907220f13 | ||
|
|
747598e8dc | ||
|
|
022950c85b | ||
|
|
e375f4fff3 | ||
|
|
ac7a2d661b | ||
|
|
40cba97ea7 | ||
|
|
e8c9424357 | ||
|
|
aa532f2f96 | ||
|
|
24f14e4ba9 | ||
|
|
2fb0c15ce0 | ||
|
|
f18cf68aea | ||
|
|
aed27b9707 | ||
|
|
4f359ec551 | ||
|
|
a9aa73f7b4 | ||
|
|
aeba6547bb | ||
|
|
8eef9fcb44 | ||
|
|
3cb9216401 | ||
|
|
20ff13abbd | ||
|
|
6812c21f18 | ||
|
|
a1b1127907 | ||
|
|
02c90246b4 | ||
|
|
5000d1a8b6 | ||
|
|
63038f397f | ||
|
|
7e8dab4a15 | ||
|
|
8f4af8fa35 | ||
|
|
b8b4d74381 | ||
|
|
94853340b9 | ||
|
|
de65f3e128 | ||
|
|
c00fd7be83 | ||
|
|
7c0de2ddec | ||
|
|
236f382aa6 | ||
|
|
1bb54b05c8 | ||
|
|
b28afd97fa | ||
|
|
46a6a3afdf | ||
|
|
6e5afb7c2e | ||
|
|
737fda5741 | ||
|
|
c58f4ce12d | ||
|
|
95afbe8abf | ||
|
|
8f7332cde6 | ||
|
|
699805b6e1 | ||
|
|
2550d0ecb0 | ||
|
|
692ded2284 | ||
|
|
e9732216ce | ||
|
|
3315ca857b | ||
|
|
8d85402748 | ||
|
|
b4a0e8ba60 | ||
|
|
66d664bedd | ||
|
|
87e38e224d | ||
|
|
4fb2901627 | ||
|
|
7a50ddc694 | ||
|
|
b55f1c81fb | ||
|
|
0311892edd | ||
|
|
94ce32ea1b | ||
|
|
3317963a65 | ||
|
|
a79f520add | ||
|
|
b6a7551978 | ||
|
|
490ff3b995 | ||
|
|
d906f2610b | ||
|
|
bb87612dba | ||
|
|
6281061c0d | ||
|
|
8323a17f96 | ||
|
|
283bc47636 | ||
|
|
442aa4dbd4 | ||
|
|
386980e22b | ||
|
|
477d977a96 | ||
|
|
4642226db0 | ||
|
|
3130d100df | ||
|
|
66bce0558a | ||
|
|
d226d51229 | ||
|
|
37cc539052 | ||
|
|
48ef2dbba3 | ||
|
|
5817344f90 |
@@ -2,8 +2,29 @@ version: 1
|
||||
update_configs:
|
||||
- package_manager: "javascript"
|
||||
directory: "/"
|
||||
update_schedule: "weekly"
|
||||
update_schedule: "live"
|
||||
default_labels:
|
||||
- "dependencies"
|
||||
commit_message:
|
||||
prefix: "deps"
|
||||
automerged_updates:
|
||||
- match:
|
||||
dependency_type: "development"
|
||||
# Supported dependency types:
|
||||
# - "development"
|
||||
# - "production"
|
||||
# - "all"
|
||||
update_type: "all"
|
||||
# Supported updates to automerge:
|
||||
# - "security:patch"
|
||||
# SemVer patch update that fixes a known security vulnerability
|
||||
# - "semver:patch"
|
||||
# SemVer patch update, e.g. > 1.x && 1.0.1 to 1.0.3
|
||||
# - "semver:minor"
|
||||
# SemVer minor update, e.g. > 1.x && 2.1.4 to 2.3.1
|
||||
# - "in_range"
|
||||
# matching the version requirement in your package manifest
|
||||
# - "all"
|
||||
- match:
|
||||
dependency_type: "production"
|
||||
update_type: "semver:patch"
|
||||
|
||||
@@ -1,7 +1,2 @@
|
||||
.*
|
||||
|
||||
!.eslintrc.json
|
||||
!.prettierrc.json
|
||||
|
||||
coverage
|
||||
node_modules
|
||||
*
|
||||
|
||||
@@ -7,3 +7,7 @@ indent_size = 2
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[Makefile]
|
||||
indent_size = 4
|
||||
indent_style = tab
|
||||
|
||||
@@ -4,7 +4,12 @@
|
||||
"es6": true,
|
||||
"node": true
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:jest/recommended"
|
||||
],
|
||||
"globals": {
|
||||
"Atomics": "readonly",
|
||||
"SharedArrayBuffer": "readonly"
|
||||
|
||||
3
.github/CODEOWNERS
vendored
3
.github/CODEOWNERS
vendored
@@ -1,3 +0,0 @@
|
||||
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
|
||||
|
||||
* @peaceiris
|
||||
37
.github/workflows/dev-image.yml
vendored
Normal file
37
.github/workflows/dev-image.yml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
name: 'Dev Image CI'
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/dev-image.yml'
|
||||
- '.dockerignore'
|
||||
- '.nvmrc'
|
||||
- 'Dockerfile'
|
||||
- 'Makefile'
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
paths:
|
||||
- '.github/workflows/dev-image.yml'
|
||||
- '.dockerignore'
|
||||
- '.nvmrc'
|
||||
- 'Dockerfile'
|
||||
- 'Makefile'
|
||||
|
||||
jobs:
|
||||
skipci:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- run: echo "[skip ci] ${{ contains(github.event.head_commit.message, '[skip ci]') }}"
|
||||
|
||||
dev-image-test:
|
||||
runs-on: ubuntu-18.04
|
||||
if: contains(github.event.head_commit.message, '[skip ci]') == false
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: make build
|
||||
- run: make cirun cmd="npm ci"
|
||||
- run: make ciall
|
||||
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@@ -9,7 +9,6 @@ jobs:
|
||||
release:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Dump GitHub context
|
||||
@@ -17,17 +16,10 @@ jobs:
|
||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||
run: echo "${GITHUB_CONTEXT}"
|
||||
|
||||
- name: Install hub
|
||||
- name: Install github/hub
|
||||
run: |
|
||||
HUB_VERSION="2.13.0"
|
||||
HUB_NAME="hub-linux-amd64-${HUB_VERSION}"
|
||||
HUB_TARBALL="${HUB_NAME}.tgz"
|
||||
wget -q "https://github.com/github/hub/releases/download/v${HUB_VERSION}/${HUB_TARBALL}"
|
||||
tar -zxvf "./${HUB_TARBALL}"
|
||||
mkdir ~/bin
|
||||
cp "./${HUB_NAME}/bin/hub" ~/bin/
|
||||
echo "::add-path::~/bin/"
|
||||
rm -rf "./${HUB_NAME}" "./${HUB_TARBALL}"
|
||||
export HUB_VERSION="2.14.2"
|
||||
curl -fsSL https://github.com/github/hub/raw/8d91904208171b013f9a9d1175f4ab39068db047/script/get | bash -s "${HUB_VERSION}"
|
||||
|
||||
- name: Create release
|
||||
env:
|
||||
@@ -35,8 +27,9 @@ jobs:
|
||||
run: |
|
||||
TAG_NAME="${GITHUB_REF##refs/tags/}"
|
||||
echo "See [CHANGELOG.md](https://github.com/${GITHUB_REPOSITORY}/blob/${TAG_NAME}/CHANGELOG.md) for more details." > ./release_notes.md
|
||||
sed -i "1iRelease ${TAG_NAME}\n" ./release_notes.md
|
||||
hub release create \
|
||||
RELEASE_NAME="$(jq -r '.name' ./package.json)"
|
||||
sed -i "1i${RELEASE_NAME} ${TAG_NAME}\n" ./release_notes.md
|
||||
./bin/hub release create \
|
||||
--draft \
|
||||
--prerelease \
|
||||
--file ./release_notes.md \
|
||||
|
||||
37
.github/workflows/test-action.yml
vendored
Normal file
37
.github/workflows/test-action.yml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
name: Daily Test
|
||||
|
||||
on:
|
||||
# push:
|
||||
schedule:
|
||||
- cron: '13 13 * * *'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- 'ubuntu-18.04'
|
||||
- 'macos-latest'
|
||||
- 'windows-latest'
|
||||
hugo-version:
|
||||
- 'latest'
|
||||
- '0.61.0'
|
||||
extended:
|
||||
- true
|
||||
- false
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: ${{ matrix.hugo-version }}
|
||||
extended: ${{ matrix.extended }}
|
||||
|
||||
- name: Run hugo version
|
||||
run: echo "::set-output name=hugo_version::$(hugo version)"
|
||||
id: hugo_version
|
||||
|
||||
- name: '${{ steps.hugo_version.outputs.hugo_version }}'
|
||||
run: echo '${{ steps.hugo_version.outputs.hugo_version }}'
|
||||
30
.github/workflows/test.yml
vendored
30
.github/workflows/test.yml
vendored
@@ -41,18 +41,18 @@ jobs:
|
||||
with:
|
||||
node-version: '${{ steps.nvm.outputs.NVMRC }}'
|
||||
|
||||
- name: Get npm cache directory
|
||||
id: npm-cache
|
||||
run: |
|
||||
echo "::set-output name=dir::$(npm config get cache)"
|
||||
|
||||
- name: Cache npm
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ${{ steps.npm-cache.outputs.dir }}
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
# - name: Get npm cache directory
|
||||
# id: npm-cache
|
||||
# run: |
|
||||
# echo "::set-output name=dir::$(npm config get cache)"
|
||||
#
|
||||
# - name: Cache npm
|
||||
# uses: actions/cache@v1
|
||||
# with:
|
||||
# path: ${{ steps.npm-cache.outputs.dir }}
|
||||
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
# restore-keys: |
|
||||
# ${{ runner.os }}-node-
|
||||
|
||||
- run: npm ci
|
||||
|
||||
@@ -76,12 +76,16 @@ jobs:
|
||||
name: coverage
|
||||
path: coverage
|
||||
|
||||
- uses: codecov/codecov-action@v1
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
# - name: Upload test coverage to Coveralls
|
||||
# uses: coverallsapp/github-action@v1.0.1
|
||||
# with:
|
||||
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# parallel: true
|
||||
#
|
||||
|
||||
# - name: Coveralls Finished
|
||||
# uses: coverallsapp/github-action@v1.0.1
|
||||
# with:
|
||||
|
||||
329
CHANGELOG.md
329
CHANGELOG.md
@@ -2,6 +2,329 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||
|
||||
## [2.4.10](https://github.com/peaceiris/actions-hugo/compare/v2.4.9...v2.4.10) (2020-04-15)
|
||||
|
||||
|
||||
### ci
|
||||
|
||||
* Add automerged_updates ([4dadc2d](https://github.com/peaceiris/actions-hugo/commit/4dadc2dfbecb8c904f81871878c4dc7b9bfa8873))
|
||||
* Add dependabot for auto-merging ([abb5843](https://github.com/peaceiris/actions-hugo/commit/abb58435605439b55727e3598e6f08d053379bba))
|
||||
* add push event ([336da8a](https://github.com/peaceiris/actions-hugo/commit/336da8a2f242b90555daa9e99f8e8506db23b8b7))
|
||||
* delete CODEOWNERS ([02db58a](https://github.com/peaceiris/actions-hugo/commit/02db58a779ac5de54af22f4b3a34c8db4fc5b646))
|
||||
|
||||
### deps
|
||||
|
||||
* bump @types/jest from 25.1.5 to 25.2.1 (#253) ([3498de4](https://github.com/peaceiris/actions-hugo/commit/3498de4687459e7dc0d7896ba9c1c1cbdfc6a2e9)), closes [#253](https://github.com/peaceiris/actions-hugo/issues/253)
|
||||
* bump @types/node from 12.12.34 to 12.12.35 ([fe90d2f](https://github.com/peaceiris/actions-hugo/commit/fe90d2f50f871eac7412103f3d63fd729e9c97ff))
|
||||
* bump @types/node-fetch from 2.5.5 to 2.5.6 ([0815b8f](https://github.com/peaceiris/actions-hugo/commit/0815b8fb73cfc7f2db243f99638e2fe278c47d71))
|
||||
* bump @typescript-eslint/eslint-plugin from 2.26.0 to 2.27.0 ([ea8d9db](https://github.com/peaceiris/actions-hugo/commit/ea8d9dba187dda369903a3f06c3a66d0c282402d))
|
||||
* bump @typescript-eslint/eslint-plugin from 2.27.0 to 2.28.0 ([506aedd](https://github.com/peaceiris/actions-hugo/commit/506aeddc3aecc241027b6a0bc274f31549a0d38c))
|
||||
* bump @typescript-eslint/parser from 2.26.0 to 2.27.0 ([acacbff](https://github.com/peaceiris/actions-hugo/commit/acacbff003c46f1865df3bf05a6e88665f6c157a))
|
||||
* bump @typescript-eslint/parser from 2.27.0 to 2.28.0 ([009b47c](https://github.com/peaceiris/actions-hugo/commit/009b47c399ca8d8a8170d40e272f66b519895ab7))
|
||||
* bump @zeit/ncc from 0.22.0 to 0.22.1 ([c66d90a](https://github.com/peaceiris/actions-hugo/commit/c66d90a3b24b74215c0a55631acdd167572cf68a))
|
||||
* bump git from 2.26.0 to 2.26.1 (#269) ([05899bf](https://github.com/peaceiris/actions-hugo/commit/05899bf3aae5fe39b476e558d615dab85ebbdef0)), closes [#269](https://github.com/peaceiris/actions-hugo/issues/269)
|
||||
* bump husky from 4.2.3 to 4.2.4 ([3fce776](https://github.com/peaceiris/actions-hugo/commit/3fce7767508b7b22db2e8fbbe08c3bec09f8f1f9))
|
||||
* bump husky from 4.2.4 to 4.2.5 ([cb7cd1e](https://github.com/peaceiris/actions-hugo/commit/cb7cd1e26db8fdc27cfcf859b78ee4b9220df99c))
|
||||
* bump jest from 25.2.7 to 25.3.0 ([a75d5eb](https://github.com/peaceiris/actions-hugo/commit/a75d5eb670d46782f396aec949a7a37fc2c26f7f))
|
||||
* bump jest-circus from 25.2.7 to 25.3.0 ([62ebf73](https://github.com/peaceiris/actions-hugo/commit/62ebf73d5f66b7a5e158e367402d920713349931))
|
||||
* bump lint-staged from 10.1.1 to 10.1.2 ([7eea088](https://github.com/peaceiris/actions-hugo/commit/7eea08803f6a63bc1b101e690815483256fb3598))
|
||||
* bump lint-staged from 10.1.2 to 10.1.3 ([4ea3b50](https://github.com/peaceiris/actions-hugo/commit/4ea3b500e2cbc247244e1681c42719eefc0f1f7f))
|
||||
* bump prettier from 2.0.2 to 2.0.4 ([ea60fc1](https://github.com/peaceiris/actions-hugo/commit/ea60fc1ec2355decbf7b1aa5e841992163b23fa6))
|
||||
|
||||
### docs
|
||||
|
||||
* Add fetch-depth 0 ([c55729f](https://github.com/peaceiris/actions-hugo/commit/c55729fbd130889796da92d7859188dbbad0e32a))
|
||||
* bump hugo to 0.68.3 ([949a480](https://github.com/peaceiris/actions-hugo/commit/949a480ff9a3e04d4baaa1197e745dee7ca21a2b))
|
||||
|
||||
|
||||
|
||||
## [2.4.9](https://github.com/peaceiris/actions-hugo/compare/v2.4.8...v2.4.9) (2020-04-03)
|
||||
|
||||
|
||||
### chore
|
||||
|
||||
* remove extra line [skip ci] (#239) ([b5b805b](https://github.com/peaceiris/actions-hugo/commit/b5b805beb99c69f65aee66539aa24ea533c83a34)), closes [#239](https://github.com/peaceiris/actions-hugo/issues/239)
|
||||
|
||||
### ci
|
||||
|
||||
* comment out push event [skip ci] ([c34a46e](https://github.com/peaceiris/actions-hugo/commit/c34a46e748f8122acf9951ab042887d3eecea3fe))
|
||||
* npm audit fix ([9229d6e](https://github.com/peaceiris/actions-hugo/commit/9229d6ea61a701010ce3a89cf6ab37bc33b163de))
|
||||
|
||||
### deps
|
||||
|
||||
* bump @types/jest from 25.1.4 to 25.1.5 ([f5dac6e](https://github.com/peaceiris/actions-hugo/commit/f5dac6efe37fa47776500cfec0fa75b9f913cd4b))
|
||||
* bump @types/node from 12.12.31 to 12.12.32 ([050ab4f](https://github.com/peaceiris/actions-hugo/commit/050ab4fa3cac4e36e51f7b95d33e1cb19cc87921))
|
||||
* bump @types/node from 12.12.32 to 12.12.34 ([f73a43a](https://github.com/peaceiris/actions-hugo/commit/f73a43a95bc9d30eb22c2b87eea4cd76609863f0))
|
||||
* bump @typescript-eslint/eslint-plugin from 2.25.0 to 2.26.0 ([5a904d4](https://github.com/peaceiris/actions-hugo/commit/5a904d42d558d16a4ba79c0ec28da41ba8303900))
|
||||
* bump @typescript-eslint/parser from 2.25.0 to 2.26.0 ([0b1622d](https://github.com/peaceiris/actions-hugo/commit/0b1622da20405a63cd46c25ddb11cdb7a79fe6d9))
|
||||
* bump jest from 25.2.3 to 25.2.4 ([050785a](https://github.com/peaceiris/actions-hugo/commit/050785a91cf309a578671ef29ef93491d89a2414))
|
||||
* bump jest from 25.2.4 to 25.2.6 ([d242ef0](https://github.com/peaceiris/actions-hugo/commit/d242ef0982267bae74be58f9aa0da578e57e801c))
|
||||
* bump jest from 25.2.6 to 25.2.7 ([43a340f](https://github.com/peaceiris/actions-hugo/commit/43a340f6cd1dd9ae05d83be0a4ef097a6308687c))
|
||||
* bump jest-circus from 25.2.3 to 25.2.4 ([6486bc9](https://github.com/peaceiris/actions-hugo/commit/6486bc9a783f4c9394d41e848df7d3a206540b2b))
|
||||
* bump jest-circus from 25.2.4 to 25.2.6 ([86cd995](https://github.com/peaceiris/actions-hugo/commit/86cd9953223bb8bc1049645c64b22e00594e2dde))
|
||||
* bump jest-circus from 25.2.6 to 25.2.7 ([add0e7c](https://github.com/peaceiris/actions-hugo/commit/add0e7c0517a4da4b6cf9eaf2bc41225c72f6e6c))
|
||||
* bump lint-staged from 10.0.10 to 10.1.0 ([c581b13](https://github.com/peaceiris/actions-hugo/commit/c581b131a63d283423756e0e72c9f4d316b99258))
|
||||
* bump lint-staged from 10.0.9 to 10.0.10 ([e04f62b](https://github.com/peaceiris/actions-hugo/commit/e04f62b1a543ca757ca4db2ec74c52a9a500cbd2))
|
||||
* bump lint-staged from 10.1.0 to 10.1.1 ([8a97893](https://github.com/peaceiris/actions-hugo/commit/8a97893cfe21fd03db36a5e406dc16ef1b129cb5))
|
||||
* bump ts-jest from 25.2.1 to 25.3.0 ([72aae03](https://github.com/peaceiris/actions-hugo/commit/72aae0311c83d3064efa311c4ab8d3ee617c8929))
|
||||
* bump ts-jest from 25.3.0 to 25.3.1 ([a6a0f2f](https://github.com/peaceiris/actions-hugo/commit/a6a0f2f7a8d6186ba698daee4f62018cc9c7cffc))
|
||||
* npm audit fix ([c80eb16](https://github.com/peaceiris/actions-hugo/commit/c80eb16e094405a99316e90ad2cd0eedbe08f459))
|
||||
|
||||
### docs
|
||||
|
||||
* Add link to interview (#234) ([ce3c331](https://github.com/peaceiris/actions-hugo/commit/ce3c3313741e14aceee0972bd1747b6606d6b4a0)), closes [#234](https://github.com/peaceiris/actions-hugo/issues/234)
|
||||
|
||||
|
||||
|
||||
## [2.4.8](https://github.com/peaceiris/actions-hugo/compare/v2.4.7...v2.4.8) (2020-03-27)
|
||||
|
||||
|
||||
### ci
|
||||
|
||||
* Add workflow for developing container (#231) ([b71ad2d](https://github.com/peaceiris/actions-hugo/commit/b71ad2d01404ec9d8cf12979cca37d47310e9aa7)), closes [#231](https://github.com/peaceiris/actions-hugo/issues/231)
|
||||
* set update_schedule live ([61937d1](https://github.com/peaceiris/actions-hugo/commit/61937d118fd2de55dd288ee18edabb0e9f9d11e0))
|
||||
|
||||
### deps
|
||||
|
||||
* bump @types/node from 12.12.30 to 12.12.31 ([64135da](https://github.com/peaceiris/actions-hugo/commit/64135da123255189740dea81571630c0d8fcf7e7))
|
||||
* bump @typescript-eslint/eslint-plugin from 2.23.0 to 2.24.0 ([2935a38](https://github.com/peaceiris/actions-hugo/commit/2935a38e763ed8cd23c43ba95236eeb811f659f9))
|
||||
* bump @typescript-eslint/eslint-plugin from 2.24.0 to 2.25.0 ([b9b88c0](https://github.com/peaceiris/actions-hugo/commit/b9b88c049f68fdd1e11e50212923d07eb22967e1))
|
||||
* bump @typescript-eslint/parser from 2.23.0 to 2.24.0 (#213) ([8807669](https://github.com/peaceiris/actions-hugo/commit/88076695a918ea1419ddeec9e16ba30e9faf4134)), closes [#213](https://github.com/peaceiris/actions-hugo/issues/213)
|
||||
* bump @typescript-eslint/parser from 2.24.0 to 2.25.0 ([6bed412](https://github.com/peaceiris/actions-hugo/commit/6bed4121ee5d7bd8a3e22c856261b59b442f8193))
|
||||
* bump @zeit/ncc from 0.21.1 to 0.22.0 ([c3a324f](https://github.com/peaceiris/actions-hugo/commit/c3a324ff3cf3e1b975c594d266ba4c7bd09daa19))
|
||||
* bump jest from 25.1.0 to 25.2.0 ([d7620db](https://github.com/peaceiris/actions-hugo/commit/d7620db17f5b0b91867f71d01874a879651a727b))
|
||||
* bump jest from 25.2.0 to 25.2.1 ([8cd28fc](https://github.com/peaceiris/actions-hugo/commit/8cd28fc857360a781d9ebd7103da74c17d4a2ce7))
|
||||
* bump jest from 25.2.1 to 25.2.2 ([601b110](https://github.com/peaceiris/actions-hugo/commit/601b110315ada15bc46842682625b71a0be1902c))
|
||||
* bump jest from 25.2.2 to 25.2.3 ([1649bea](https://github.com/peaceiris/actions-hugo/commit/1649bea4d0a67e4b6af6ed2b95fea1e66673239b))
|
||||
* bump jest-circus from 25.1.0 to 25.2.0 ([702a3e4](https://github.com/peaceiris/actions-hugo/commit/702a3e4c9ae5cf3ce9e380e45504d2b28e0dcc46))
|
||||
* bump jest-circus from 25.2.0 to 25.2.1 ([c1f3690](https://github.com/peaceiris/actions-hugo/commit/c1f369064cf05c10277655226e2a4723266d7161))
|
||||
* bump jest-circus from 25.2.1 to 25.2.2 ([1bafab6](https://github.com/peaceiris/actions-hugo/commit/1bafab6d5aa5d524d86e28cf6bcb8c41a09cc51d))
|
||||
* bump jest-circus from 25.2.2 to 25.2.3 ([a2600d5](https://github.com/peaceiris/actions-hugo/commit/a2600d572b522fb75cd38aba6b6306501618579d))
|
||||
* bump lint-staged from 10.0.8 to 10.0.9 ([35eb187](https://github.com/peaceiris/actions-hugo/commit/35eb187a3cd1e2b3370f881bfc97396d483585f8))
|
||||
* bump nock from 12.0.2 to 12.0.3 ([a3f7ea4](https://github.com/peaceiris/actions-hugo/commit/a3f7ea4140f3f85196f7ea5d76bd2eeb5524a646))
|
||||
* bump prettier from 1.19.1 to 2.0.1 ([da65b73](https://github.com/peaceiris/actions-hugo/commit/da65b73f4d4d3f23a392b882cb81c6538dda23b0))
|
||||
* bump prettier from 2.0.1 to 2.0.2 ([9b11300](https://github.com/peaceiris/actions-hugo/commit/9b11300647ddf5ce6c42733e335be78e5ae855b6))
|
||||
* node from 12.15.0 to 12.16.1 (#232) ([e470a76](https://github.com/peaceiris/actions-hugo/commit/e470a760d3eda16dddba7bcf4c66a3ae371c61f2)), closes [#232](https://github.com/peaceiris/actions-hugo/issues/232)
|
||||
|
||||
### docs
|
||||
|
||||
* Add codeclimate badge ([c69c549](https://github.com/peaceiris/actions-hugo/commit/c69c549ff8c5106c435657fba74f76cb807db1ec))
|
||||
* bump actions/checkout to v2 ([33d3f73](https://github.com/peaceiris/actions-hugo/commit/33d3f73fc7bb54a2fe21cdeee8e93881c3094b92))
|
||||
* update notes ([4cd0877](https://github.com/peaceiris/actions-hugo/commit/4cd0877e8793c755e53b341fa5fe43801f9319a2))
|
||||
|
||||
|
||||
|
||||
## [2.4.7](https://github.com/peaceiris/actions-hugo/compare/v2.4.6...v2.4.7) (2020-03-13)
|
||||
|
||||
|
||||
### ci
|
||||
|
||||
* update script link [skip ci] ([3d71d24](https://github.com/peaceiris/actions-hugo/commit/3d71d2403d36fe0c2770d1a69526ca5d8ba884c5))
|
||||
|
||||
### deps
|
||||
|
||||
* [security] bump acorn from 6.4.0 to 6.4.1 ([ea7a8f0](https://github.com/peaceiris/actions-hugo/commit/ea7a8f03436f5eefe2b0509210f62bb60eb645ce))
|
||||
* bump @actions/core from 1.2.2 to 1.2.3 ([cc6e883](https://github.com/peaceiris/actions-hugo/commit/cc6e8832e8df3d38ea15016148e7499d67595412))
|
||||
* bump @actions/tool-cache from 1.3.1 to 1.3.2 ([c6512d4](https://github.com/peaceiris/actions-hugo/commit/c6512d44a3620fbc3158c62e47d6a3e1a8a0696d))
|
||||
* bump @actions/tool-cache from 1.3.2 to 1.3.3 ([0d2e118](https://github.com/peaceiris/actions-hugo/commit/0d2e11837b439e036687b3766548fe67efe14e04))
|
||||
* bump @types/jest from 25.1.3 to 25.1.4 ([d17d509](https://github.com/peaceiris/actions-hugo/commit/d17d5099d67ed8aca0af28f612ffa36a2751b013))
|
||||
* bump @types/node from 12.12.28 to 12.12.29 ([bc46e40](https://github.com/peaceiris/actions-hugo/commit/bc46e4063a096f87cc0faaf107b160c4686b9462))
|
||||
* bump @types/node from 12.12.29 to 12.12.30 ([de4f7b1](https://github.com/peaceiris/actions-hugo/commit/de4f7b11367e07ace82f9ada91775cfbb03b88da))
|
||||
* bump @typescript-eslint/eslint-plugin from 2.21.0 to 2.22.0 ([4ce8f62](https://github.com/peaceiris/actions-hugo/commit/4ce8f62edb9e86b50989996e17b6a8ed20b30a4b))
|
||||
* bump @typescript-eslint/eslint-plugin from 2.22.0 to 2.23.0 ([844e33d](https://github.com/peaceiris/actions-hugo/commit/844e33d4107bfb7ab1cc21f6a4fab8b51bf441b1))
|
||||
* bump @typescript-eslint/parser from 2.21.0 to 2.22.0 ([0a1c87e](https://github.com/peaceiris/actions-hugo/commit/0a1c87ea74e0cdf3a147e464f7814576f07a46bf))
|
||||
* bump @typescript-eslint/parser from 2.22.0 to 2.23.0 ([703c21f](https://github.com/peaceiris/actions-hugo/commit/703c21fa41ab2b6f1c71a6bdbc4f795eff75abea))
|
||||
* bump eslint-plugin-jest from 23.8.0 to 23.8.1 (#198) ([f48589d](https://github.com/peaceiris/actions-hugo/commit/f48589d80e2cf825cef0479d547f2767a2bf9414)), closes [#198](https://github.com/peaceiris/actions-hugo/issues/198)
|
||||
* bump eslint-plugin-jest from 23.8.1 to 23.8.2 ([f9fbf81](https://github.com/peaceiris/actions-hugo/commit/f9fbf81b0c07b5293e596585fc22b49e40d818ec))
|
||||
* bump hub 2.14.1 to 2.14.2 ([61f1757](https://github.com/peaceiris/actions-hugo/commit/61f1757c8c728f8fd8e8e96f56b81171e007ef28))
|
||||
* bump nock from 12.0.1 to 12.0.2 ([c430dce](https://github.com/peaceiris/actions-hugo/commit/c430dcefd1e96d100f28c2a8e5b5084a84fe2c0d))
|
||||
* bump typescript from 3.8.2 to 3.8.3 ([9026a94](https://github.com/peaceiris/actions-hugo/commit/9026a9453330ef8189b318c2339c250ea05c5947))
|
||||
|
||||
|
||||
|
||||
## [2.4.6](https://github.com/peaceiris/actions-hugo/compare/v2.4.5...v2.4.6) (2020-02-26)
|
||||
|
||||
|
||||
### deps
|
||||
|
||||
* bump @types/jest from 25.1.1 to 25.1.2 ([da0b7ac](https://github.com/peaceiris/actions-hugo/commit/da0b7ac273fb7fc345e8a98c58e620b7f85df2f5))
|
||||
* bump @types/jest from 25.1.2 to 25.1.3 ([45ee73c](https://github.com/peaceiris/actions-hugo/commit/45ee73c48da3bd070b8e8a1f9bfed354e6e50c82))
|
||||
* bump @types/node from 12.12.27 to 12.12.28 ([4eed9e4](https://github.com/peaceiris/actions-hugo/commit/4eed9e47590cb859dcc19bd396d1360b45813dda))
|
||||
* bump @types/node from 13.7.0 to 13.7.1 ([9d826a4](https://github.com/peaceiris/actions-hugo/commit/9d826a479b558de962af26211fc1a3e2ae6d7b92))
|
||||
* bump @types/node from 13.7.1 to 13.7.2 ([f3bcf96](https://github.com/peaceiris/actions-hugo/commit/f3bcf965479d21716fcdb4c6b459562b13892a4a))
|
||||
* bump @types/node-fetch from 2.5.4 to 2.5.5 ([a8e5979](https://github.com/peaceiris/actions-hugo/commit/a8e5979167c907a9253458eb96b7b3281f055722))
|
||||
* bump @typescript-eslint/eslint-plugin from 2.19.0 to 2.19.2 ([d56d87b](https://github.com/peaceiris/actions-hugo/commit/d56d87baca65a2ba667e218745e6409fc8ad6fcf))
|
||||
* bump @typescript-eslint/eslint-plugin from 2.19.2 to 2.20.0 ([266cd0f](https://github.com/peaceiris/actions-hugo/commit/266cd0f3511e7ae5949d408a7374f7cf418420cd))
|
||||
* bump @typescript-eslint/eslint-plugin from 2.20.0 to 2.21.0 ([5fcc41d](https://github.com/peaceiris/actions-hugo/commit/5fcc41dbee64328185c1450e01b5ec5c7bb7e7e8))
|
||||
* bump @typescript-eslint/parser from 2.19.0 to 2.19.2 ([6b6e84e](https://github.com/peaceiris/actions-hugo/commit/6b6e84ed73751418f2c94fe50e135960082c51af))
|
||||
* bump @typescript-eslint/parser from 2.19.2 to 2.20.0 ([2331ecd](https://github.com/peaceiris/actions-hugo/commit/2331ecd7332e9b1d816565a6faecf4b1f0e3f0d2))
|
||||
* bump @typescript-eslint/parser from 2.20.0 to 2.21.0 ([bb9d9fa](https://github.com/peaceiris/actions-hugo/commit/bb9d9fa49a8dde93d1121211f8fe140c6f85794d))
|
||||
* bump @zeit/ncc from 0.21.0 to 0.21.1 ([ef069a5](https://github.com/peaceiris/actions-hugo/commit/ef069a5b5b3305eebd68c97222f27a4b7eff8187))
|
||||
* bump eslint-plugin-jest from 23.6.0 to 23.7.0 ([f802d7f](https://github.com/peaceiris/actions-hugo/commit/f802d7f38d757aa9d19596ede8783cc21687fc0d))
|
||||
* bump eslint-plugin-jest from 23.7.0 to 23.8.0 ([cb4de30](https://github.com/peaceiris/actions-hugo/commit/cb4de30fad3d0414055024a3a0d460b1e8ec39ec))
|
||||
* bump husky from 4.2.1 to 4.2.3 ([07c50af](https://github.com/peaceiris/actions-hugo/commit/07c50afccc821b24526b6c6257f65ba17a4bb727))
|
||||
* bump lint-staged from 10.0.7 to 10.0.8 ([1972405](https://github.com/peaceiris/actions-hugo/commit/1972405991185de2af9d20fcf69786268e52039c))
|
||||
* bump nock from 11.7.2 to 11.8.2 ([8095fcb](https://github.com/peaceiris/actions-hugo/commit/8095fcb0f41d1541ef1d84e019cb67f9e9595e85))
|
||||
* bump nock from 11.8.2 to 12.0.0 ([4a12696](https://github.com/peaceiris/actions-hugo/commit/4a12696aca76ef260d0b7a55d1290c2b778ddfdb))
|
||||
* bump nock from 12.0.0 to 12.0.1 ([231e402](https://github.com/peaceiris/actions-hugo/commit/231e4029187d257cc58b840ed341257b4b20e288))
|
||||
* bump node from 12.14.1 to 12.15.0 (#172) ([8850dd5](https://github.com/peaceiris/actions-hugo/commit/8850dd5d86b98f7f80c761547cd73ce9df779127)), closes [#172](https://github.com/peaceiris/actions-hugo/issues/172)
|
||||
* bump ts-jest from 25.2.0 to 25.2.1 ([4de9b09](https://github.com/peaceiris/actions-hugo/commit/4de9b09ee49dc89ca2d9a914f99020b6392580eb))
|
||||
* bump typescript from 3.7.5 to 3.8.2 ([81b5611](https://github.com/peaceiris/actions-hugo/commit/81b5611b7c835dabe63ae1700be5719f276debf4))
|
||||
* Rollback types/node 13 to 12 (#185) ([75c9bc6](https://github.com/peaceiris/actions-hugo/commit/75c9bc6dc7f95893877154254cd001d8b5ebe76a)), closes [#185](https://github.com/peaceiris/actions-hugo/issues/185)
|
||||
|
||||
### docs
|
||||
|
||||
* Add note about actions/checkout@v2 ([b9e10c3](https://github.com/peaceiris/actions-hugo/commit/b9e10c3e30353f050fbad487660f9dd198c32662))
|
||||
* update ([88ecc3f](https://github.com/peaceiris/actions-hugo/commit/88ecc3f3da2d10d3aa78000a27da4490493e81cb))
|
||||
* use github_token ([41b2600](https://github.com/peaceiris/actions-hugo/commit/41b2600c915a0e5a3e0b2fc0fa178e65e311152a))
|
||||
* use peaceiris/actions-gh-pages@v3 ([38f8dc8](https://github.com/peaceiris/actions-hugo/commit/38f8dc8ba89e5b6143d0c921b049481c011aa0a7))
|
||||
|
||||
|
||||
|
||||
## [2.4.5](https://github.com/peaceiris/actions-hugo/compare/v2.4.4...v2.4.5) (2020-02-04)
|
||||
|
||||
|
||||
### chore
|
||||
|
||||
* Add engines field ([aeba654](https://github.com/peaceiris/actions-hugo/commit/aeba6547bbb28e39b29e7d03f6978c80d6c09931))
|
||||
|
||||
### deps
|
||||
|
||||
* bump @types/jest from 25.1.0 to 25.1.1 ([f18cf68](https://github.com/peaceiris/actions-hugo/commit/f18cf68aea6a7d00504e6335efedb30a14f8c021))
|
||||
* bump @types/node from 13.5.0 to 13.5.1 ([a9aa73f](https://github.com/peaceiris/actions-hugo/commit/a9aa73f7b42aadd8e6bbbf77ad51143b99f18e40))
|
||||
* bump @types/node from 13.5.1 to 13.5.2 ([aed27b9](https://github.com/peaceiris/actions-hugo/commit/aed27b97077aed97ef3c9e27ee7066a5a7a55c40))
|
||||
* bump @types/node from 13.5.2 to 13.5.3 ([e8c9424](https://github.com/peaceiris/actions-hugo/commit/e8c9424357a611602420145f8f289752b2521863))
|
||||
* bump @types/node from 13.5.3 to 13.7.0 ([e375f4f](https://github.com/peaceiris/actions-hugo/commit/e375f4fff3fc25ace239150a37912746292b4e67))
|
||||
* bump @typescript-eslint/eslint-plugin from 2.18.0 to 2.19.0 ([3907220](https://github.com/peaceiris/actions-hugo/commit/3907220f13b04e23a4d300439cdc11b05ea034c1))
|
||||
* bump @typescript-eslint/parser from 2.18.0 to 2.19.0 (#170) ([747598e](https://github.com/peaceiris/actions-hugo/commit/747598e8dc8f2f8ea8c3a8964531e3c7fa1b11d7)), closes [#170](https://github.com/peaceiris/actions-hugo/issues/170)
|
||||
* bump lint-staged from 10.0.3 to 10.0.4 ([4f359ec](https://github.com/peaceiris/actions-hugo/commit/4f359ec551fa404b81d7a5832b16a3729874c611))
|
||||
* bump lint-staged from 10.0.4 to 10.0.5 ([2fb0c15](https://github.com/peaceiris/actions-hugo/commit/2fb0c15ce023c9b4831e1acab7d97c0ba50d5a9d))
|
||||
* bump lint-staged from 10.0.5 to 10.0.6 ([aa532f2](https://github.com/peaceiris/actions-hugo/commit/aa532f2f962cb4c9473f59fd4adbf67f4bfc3554))
|
||||
* bump lint-staged from 10.0.6 to 10.0.7 ([ac7a2d6](https://github.com/peaceiris/actions-hugo/commit/ac7a2d661b0cb2b28f9967e2c65567f3b6ef9abc))
|
||||
* bump ts-jest from 25.0.0 to 25.1.0 ([24f14e4](https://github.com/peaceiris/actions-hugo/commit/24f14e4ba907ee0920a608a0cf204387f1a26d53))
|
||||
* bump ts-jest from 25.1.0 to 25.2.0 ([022950c](https://github.com/peaceiris/actions-hugo/commit/022950c85b46b0e873e66b5d6732b02ea09aa566))
|
||||
|
||||
### docs
|
||||
|
||||
* add Dependabot badge ([40cba97](https://github.com/peaceiris/actions-hugo/commit/40cba97ea7d81fcbaccd754f9d4e2f28db6afbf3))
|
||||
|
||||
|
||||
|
||||
## [2.4.4](https://github.com/peaceiris/actions-hugo/compare/v2.4.3...v2.4.4) (2020-01-28)
|
||||
|
||||
|
||||
### chore
|
||||
|
||||
* ignore failure ([7c0de2d](https://github.com/peaceiris/actions-hugo/commit/7c0de2ddec0ad6a617eed9a78836b75151c9f870))
|
||||
* update git (#150) ([c00fd7b](https://github.com/peaceiris/actions-hugo/commit/c00fd7be83dad02c1e07a09bfb526a3e2d67fa75)), closes [#150](https://github.com/peaceiris/actions-hugo/issues/150)
|
||||
* update name ([8f4af8f](https://github.com/peaceiris/actions-hugo/commit/8f4af8fa35a55337783683108d969c57a9541dae))
|
||||
|
||||
### ci
|
||||
|
||||
* remove operations-per-run ([de65f3e](https://github.com/peaceiris/actions-hugo/commit/de65f3e1283667e67fe0676a6498d02951ee22d5))
|
||||
* use github/hub install script [skip ci] ([7e8dab4](https://github.com/peaceiris/actions-hugo/commit/7e8dab4a1585bb1241a44c53eeae4acc25fe0661))
|
||||
|
||||
### deps
|
||||
|
||||
* bump @types/jest from 24.9.1 to 25.1.0 ([02c9024](https://github.com/peaceiris/actions-hugo/commit/02c90246b441e21119ffe228b29c43ac443ca688))
|
||||
* bump @typescript-eslint/eslint-plugin from 2.17.0 to 2.18.0 ([a1b1127](https://github.com/peaceiris/actions-hugo/commit/a1b1127907729bf5a7533f63111feaf16919ee1b))
|
||||
* bump @typescript-eslint/parser from 2.17.0 to 2.18.0 ([6812c21](https://github.com/peaceiris/actions-hugo/commit/6812c21f1895dbef58aca3a976d0d3852d660dd0))
|
||||
* bump lint-staged from 10.0.2 to 10.0.3 ([5000d1a](https://github.com/peaceiris/actions-hugo/commit/5000d1a8b64a136a7350b3f3debc93fb21872a06))
|
||||
|
||||
### docs
|
||||
|
||||
* Add release feed badge ([b8b4d74](https://github.com/peaceiris/actions-hugo/commit/b8b4d743819166af3ff7f530bbdc6d3480913cb9))
|
||||
* update badge ([63038f3](https://github.com/peaceiris/actions-hugo/commit/63038f397f199600101c79aca6bc505c8718d1b7))
|
||||
|
||||
### fix
|
||||
|
||||
* action failure status (#151) ([9485334](https://github.com/peaceiris/actions-hugo/commit/94853340b9510c41a18016dbaa8d41e42044300c)), closes [#151](https://github.com/peaceiris/actions-hugo/issues/151) [#149](https://github.com/peaceiris/actions-hugo/issues/149)
|
||||
|
||||
|
||||
|
||||
## [2.4.3](https://github.com/peaceiris/actions-hugo/compare/v2.4.2...v2.4.3) (2020-01-24)
|
||||
|
||||
|
||||
### chore
|
||||
|
||||
* Change update_schedule from weekly to daily ([737fda5](https://github.com/peaceiris/actions-hugo/commit/737fda5741cb12d8992d4c75e249bd0392e162a7))
|
||||
|
||||
### deps
|
||||
|
||||
* bump @actions/core from 1.2.1 to 1.2.2 ([6e5afb7](https://github.com/peaceiris/actions-hugo/commit/6e5afb7c2e3739813acca54db234f1c13cf1e596))
|
||||
* bump @actions/tool-cache from 1.3.0 to 1.3.1 ([46a6a3a](https://github.com/peaceiris/actions-hugo/commit/46a6a3afdff838a10f9f9e063170cfc02c197611))
|
||||
|
||||
|
||||
|
||||
## [2.4.2](https://github.com/peaceiris/actions-hugo/compare/v2.4.1...v2.4.2) (2020-01-23)
|
||||
|
||||
|
||||
### ci
|
||||
|
||||
* Add codecov/codecov-action@v1 (#136) ([94ce32e](https://github.com/peaceiris/actions-hugo/commit/94ce32ea1b2965037ef7bbec618476ed6ad7b9e6)), closes [#136](https://github.com/peaceiris/actions-hugo/issues/136)
|
||||
* Add Hugo version dump step ([7a50ddc](https://github.com/peaceiris/actions-hugo/commit/7a50ddc6941e49c88a35080315a84a684c825347))
|
||||
* Add operations-per-run 1 ([b6a7551](https://github.com/peaceiris/actions-hugo/commit/b6a75519788da01712462416009e656ec0b9cc8d))
|
||||
|
||||
### deps
|
||||
|
||||
* bump @types/jest from 24.9.0 to 24.9.1 ([2550d0e](https://github.com/peaceiris/actions-hugo/commit/2550d0ecb023988fa8061c6270a46e9d67bb84dc))
|
||||
* bump @types/node from 13.1.8 to 13.5.0 ([8d85402](https://github.com/peaceiris/actions-hugo/commit/8d854027489e6b4b9130701c3a826185aca6bfae))
|
||||
* bump @typescript-eslint/eslint-plugin from 2.16.0 to 2.17.0 ([66d664b](https://github.com/peaceiris/actions-hugo/commit/66d664bedd9b4a5d5004dc4023557305c4d69d97))
|
||||
* bump @typescript-eslint/parser from 2.16.0 to 2.17.0 (#144) ([692ded2](https://github.com/peaceiris/actions-hugo/commit/692ded22845285c58250414c6389365f01229c49)), closes [#144](https://github.com/peaceiris/actions-hugo/issues/144)
|
||||
* bump husky from 4.0.10 to 4.2.1 ([e973221](https://github.com/peaceiris/actions-hugo/commit/e9732216ceb5db53dac31f61b0bb7d03db346f3a))
|
||||
* bump jest and ts-jest ([3315ca8](https://github.com/peaceiris/actions-hugo/commit/3315ca857b7ee10f6c9de622898e44583fd81132))
|
||||
* bump jest-circus from 24.9.0 to 25.1.0 ([b4a0e8b](https://github.com/peaceiris/actions-hugo/commit/b4a0e8ba604f9aeccee1f7b409870b3605de8544))
|
||||
* bump lint-staged from 10.0.0 to 10.0.2 ([87e38e2](https://github.com/peaceiris/actions-hugo/commit/87e38e224d4a8f50a19dc9904c0bb85f707197bd))
|
||||
* bump standard-version from 7.0.1 to 7.1.0 (#145) ([699805b](https://github.com/peaceiris/actions-hugo/commit/699805b6e156fb30665896aa7c1cbbca130a1364)), closes [#145](https://github.com/peaceiris/actions-hugo/issues/145)
|
||||
* update ([3317963](https://github.com/peaceiris/actions-hugo/commit/3317963a656646a401fcf4d1420b50f5908e3be0))
|
||||
|
||||
### docs
|
||||
|
||||
* Add Codecov badge ([0311892](https://github.com/peaceiris/actions-hugo/commit/0311892edd4e91aac6a95a003243e44ad3a54fe0))
|
||||
* Update action execution time ([a79f520](https://github.com/peaceiris/actions-hugo/commit/a79f520addd8c317fcb9b29e8ecc4a8b0ecc43ae))
|
||||
|
||||
### style
|
||||
|
||||
* remove extra whitespace [skip ci] ([4fb2901](https://github.com/peaceiris/actions-hugo/commit/4fb290162762a7f823fcab1984966da8d8aed547))
|
||||
|
||||
### test
|
||||
|
||||
* Add fail to fetch latest due to 404 (#137) ([b55f1c8](https://github.com/peaceiris/actions-hugo/commit/b55f1c81fb24bc6149b3a7ec4cb9aa6c9596e877)), closes [#137](https://github.com/peaceiris/actions-hugo/issues/137)
|
||||
|
||||
|
||||
|
||||
## [2.4.1](https://github.com/peaceiris/actions-hugo/compare/v2.4.0...v2.4.1) (2020-01-18)
|
||||
|
||||
|
||||
### chore
|
||||
|
||||
* Remove extra title [skip ci] ([48ef2db](https://github.com/peaceiris/actions-hugo/commit/48ef2dbba3c136400ffd657b8209d1b7b2b6261b))
|
||||
* Update description ([8323a17](https://github.com/peaceiris/actions-hugo/commit/8323a17f96cdcbe7717e2d9ea24804c3f1b0a29f))
|
||||
|
||||
### ci
|
||||
|
||||
* Add action test workflow ([37cc539](https://github.com/peaceiris/actions-hugo/commit/37cc539052b4dffff3b468c8a25b5e414f3a7c79))
|
||||
* Comment out push event [skip ci] ([d226d51](https://github.com/peaceiris/actions-hugo/commit/d226d51229e27be0121bc922b1148ef69332ed6f))
|
||||
|
||||
### docs
|
||||
|
||||
* Add Coverage Status badge [skip ci] ([3130d10](https://github.com/peaceiris/actions-hugo/commit/3130d100df2b0d10f954f9030098c2acaf553af2))
|
||||
* Update execution time ([477d977](https://github.com/peaceiris/actions-hugo/commit/477d977a96079da2efe5596b1a1935ec6a6efddc))
|
||||
|
||||
### refactor
|
||||
|
||||
* main and installer (#133) ([283bc47](https://github.com/peaceiris/actions-hugo/commit/283bc47636b79858da429c7c2f16a97f4ec00638)), closes [#133](https://github.com/peaceiris/actions-hugo/issues/133)
|
||||
* Use node-fetch instead of xmlhttprequest (#130) ([4642226](https://github.com/peaceiris/actions-hugo/commit/4642226db024cf8c43266df88a8a324233b19d30)), closes [#130](https://github.com/peaceiris/actions-hugo/issues/130)
|
||||
|
||||
### test
|
||||
|
||||
* Add integration testing (#131) ([386980e](https://github.com/peaceiris/actions-hugo/commit/386980e22b20d82471f64474e932614b5d22dfa9)), closes [#131](https://github.com/peaceiris/actions-hugo/issues/131)
|
||||
* Add test for extended option (#134) ([6281061](https://github.com/peaceiris/actions-hugo/commit/6281061c0d9ca0dbde316f3059e931df883b7273)), closes [#134](https://github.com/peaceiris/actions-hugo/issues/134)
|
||||
* Add unit testing (get-latest-version) (#132) ([442aa4d](https://github.com/peaceiris/actions-hugo/commit/442aa4dbd4b82ed161cf04f0b205abef771ca9a5)), closes [#132](https://github.com/peaceiris/actions-hugo/issues/132)
|
||||
* Enable Coveralls (#129) ([66bce05](https://github.com/peaceiris/actions-hugo/commit/66bce0558afb6eaa8d8e7f1762426f9e7f53d60c)), closes [#129](https://github.com/peaceiris/actions-hugo/issues/129)
|
||||
|
||||
|
||||
|
||||
# [2.4.0](https://github.com/peaceiris/actions-hugo/compare/v2.3.2...v2.4.0) (2020-01-17)
|
||||
|
||||
|
||||
@@ -46,9 +369,3 @@ All notable changes to this project will be documented in this file. See [standa
|
||||
### test
|
||||
|
||||
* Add Docker container for testing [skip ci] ([7496c44](https://github.com/peaceiris/actions-hugo/commit/7496c44053ad339cde271140b13a6c3e5385f596))
|
||||
|
||||
|
||||
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||
|
||||
29
Dockerfile
Normal file
29
Dockerfile
Normal file
@@ -0,0 +1,29 @@
|
||||
ARG NODE_VERSION
|
||||
|
||||
FROM node:${NODE_VERSION}-buster-slim
|
||||
|
||||
SHELL ["/bin/bash", "-l", "-c"]
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev autoconf \
|
||||
ca-certificates \
|
||||
wget && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /git
|
||||
ENV GIT_VERSION="2.26.1"
|
||||
RUN wget -q "https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz" && \
|
||||
tar -zxf "./v${GIT_VERSION}.tar.gz" && \
|
||||
rm "./v${GIT_VERSION}.tar.gz" && \
|
||||
cd "./git-${GIT_VERSION}" && \
|
||||
make configure && \
|
||||
./configure --prefix=/usr && \
|
||||
make all && \
|
||||
make install
|
||||
|
||||
WORKDIR /repo
|
||||
ENV RUNNER_TEMP="/tmp"
|
||||
|
||||
CMD [ "bash" ]
|
||||
22
Makefile
22
Makefile
@@ -1,8 +1,10 @@
|
||||
cmd := "bash"
|
||||
msg := ""
|
||||
IMAGE_NAME := actions-hugo-dev:latest
|
||||
DOCKER_BUILD := docker build . -t $(IMAGE_NAME) --file ./__tests__/Dockerfile
|
||||
DOCKER_RUN := docker run --rm -i -t -v ${PWD}:/repo -v ~/.gitconfig:/etc/gitconfig $(IMAGE_NAME)
|
||||
IMAGE_NAME := actions_hugo_dev:latest
|
||||
NODE_VERSION := $(shell cat ./.nvmrc)
|
||||
DOCKER_BUILD := docker build . -t $(IMAGE_NAME) --build-arg NODE_VERSION=$(NODE_VERSION)
|
||||
DOCKER_RUN := docker run --rm -i -t -v ${PWD}:/repo -v ~/.gitconfig:/root/.gitconfig $(IMAGE_NAME)
|
||||
DOCKER_RUN_CI := docker run --rm -v ${PWD}:/repo $(IMAGE_NAME)
|
||||
|
||||
|
||||
.PHONY: build
|
||||
@@ -13,10 +15,18 @@ build:
|
||||
run:
|
||||
$(DOCKER_RUN) $(cmd)
|
||||
|
||||
.PHONY: cirun
|
||||
cirun:
|
||||
$(DOCKER_RUN_CI) $(cmd)
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
$(DOCKER_RUN) npm test
|
||||
|
||||
.PHONY: commit
|
||||
commit:
|
||||
$(DOCKER_RUN) git commit -m "$(msg)"
|
||||
.PHONY: all
|
||||
all:
|
||||
$(DOCKER_RUN) npm run all
|
||||
|
||||
.PHONY: ciall
|
||||
ciall:
|
||||
$(DOCKER_RUN_CI) npm run all
|
||||
|
||||
53
README.md
53
README.md
@@ -1,8 +1,13 @@
|
||||
[](https://github.com/peaceiris/actions-hugo/blob/master/LICENSE)
|
||||
[](https://github.com/peaceiris/actions-hugo/releases/latest)
|
||||
[](https://github.com/peaceiris/actions-hugo/releases)
|
||||

|
||||
[](https://github.com/peaceiris/actions-hugo/releases.atom)
|
||||

|
||||
[](https://dependabot.com)
|
||||
|
||||
[](https://www.codefactor.io/repository/github/peaceiris/actions-hugo)
|
||||
[](https://codecov.io/gh/peaceiris/actions-hugo)
|
||||
[](https://codeclimate.com/github/peaceiris/actions-hugo/maintainability)
|
||||
|
||||
<img width="400" alt="GitHub Actions for Hugo" src="./images/ogp.svg">
|
||||
|
||||
@@ -12,9 +17,13 @@
|
||||
|
||||
- [gohugoio/hugo: The world’s fastest framework for building websites.](https://github.com/gohugoio/hugo)
|
||||
|
||||
We can run **Hugo** on a virtual machine of **GitHub Actions** by this Hugo action. **Hugo extended** version and **Hugo Modules** are supported.
|
||||
This **Hugo Setup Action** can install **Hugo** to a virtual machine of **GitHub Actions**.
|
||||
**Hugo extended** version, **Hugo Modules**, Linux (Ubuntu), macOS, and Windows are supported.
|
||||
|
||||
From `v2`, this Hugo action migrated to a JavaScript (TypeScript) action. We no longer build or pull a Hugo docker image. Thanks to this change, we can complete this action less than **4 sec**. (A docker base action was taking about 1 min or more execution time to build or pull.)
|
||||
From `v2`, this Hugo Setup Action has migrated to a JavaScript (TypeScript) action.
|
||||
We no longer build or pull a Hugo docker image.
|
||||
Thanks to this change, we can complete this action in less than a few seconds.
|
||||
(A docker base action was taking about 1 min or more execution time to build and pull a docker image.)
|
||||
|
||||
| OS (runs-on) | ubuntu-18.04 | macos-latest | windows-2019 |
|
||||
|---|:---:|:---:|:---:|
|
||||
@@ -70,28 +79,28 @@ on:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build-deploy:
|
||||
deploy:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
# with:
|
||||
# submodules: true
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true # Fetch Hugo themes
|
||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: '0.62.2'
|
||||
hugo-version: '0.68.3'
|
||||
# extended: true
|
||||
|
||||
- name: Build
|
||||
run: hugo --minify
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v2
|
||||
env:
|
||||
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
||||
PUBLISH_BRANCH: gh-pages
|
||||
PUBLISH_DIR: ./public
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./public
|
||||
```
|
||||
|
||||
<div align="right">
|
||||
@@ -110,7 +119,7 @@ Set `extended: true` to use a Hugo extended version.
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: '0.62.2'
|
||||
hugo-version: '0.68.3'
|
||||
extended: true
|
||||
```
|
||||
|
||||
@@ -142,7 +151,7 @@ How to sync a Hugo version between a Docker Compose and a GitHub Actions workflo
|
||||
Write a `HUGO_VERSION` to the `.env` file like the following and push it to a remote branch.
|
||||
|
||||
```sh
|
||||
HUGO_VERSION=0.62.2
|
||||
HUGO_VERSION=0.68.3
|
||||
```
|
||||
|
||||
Next, add a step to read a Hugo version from the `.env` file.
|
||||
@@ -208,24 +217,20 @@ The alpine base Hugo Docker image is provided on the following repository.
|
||||
## About Maintainer
|
||||
|
||||
- [peaceiris homepage](https://peaceiris.com/)
|
||||
- [GitHub Action Hero: Shohei Ueda - The GitHub Blog](https://github.blog/2020-03-22-github-action-hero-shohei-ueda/)
|
||||
|
||||
|
||||
|
||||
## Maintainer Notes
|
||||
|
||||
Run `npm` and `git commit` commands on a container.
|
||||
|
||||
**On Host**
|
||||
Run `npm test` on a Docker container.
|
||||
|
||||
```sh
|
||||
# Docker
|
||||
# On container
|
||||
make build
|
||||
make run
|
||||
make run cmd="env"
|
||||
make test
|
||||
make commit msg="chore: Add Makefile"
|
||||
make all
|
||||
|
||||
# Release
|
||||
# Release script on host
|
||||
./release.sh
|
||||
```
|
||||
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
FROM node:12-slim
|
||||
|
||||
WORKDIR /repo
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y install --no-install-recommends \
|
||||
git \
|
||||
bash && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
CMD [ "bash" ]
|
||||
1
__tests__/data/brew.json
Normal file
1
__tests__/data/brew.json
Normal file
@@ -0,0 +1 @@
|
||||
{"name":"hugo","full_name":"hugo","oldname":null,"aliases":[],"versioned_formulae":[],"desc":"Configurable static site generator","homepage":"https://gohugo.io/","versions":{"stable":"0.62.2","devel":null,"head":"HEAD","bottle":true},"revision":0,"version_scheme":0,"bottle":{"stable":{"rebuild":0,"cellar":":any_skip_relocation","prefix":"/usr/local","root_url":"https://homebrew.bintray.com/bottles","files":{"catalina":{"url":"https://homebrew.bintray.com/bottles/hugo-0.62.2.catalina.bottle.tar.gz","sha256":"354545c2c125e01a8860f83577fb4218d585fa8d38cd7f51e4228a149347fbcf"},"mojave":{"url":"https://homebrew.bintray.com/bottles/hugo-0.62.2.mojave.bottle.tar.gz","sha256":"9645b64fe6290c4c3b7591ef21139247f0fad6e49da1edd01665b3130a8f1d1a"},"high_sierra":{"url":"https://homebrew.bintray.com/bottles/hugo-0.62.2.high_sierra.bottle.tar.gz","sha256":"0ede4cbcc7536dd6b05107376637840356062273d734b4106be98b3d1732d50c"}}}},"keg_only":false,"bottle_disabled":false,"options":[],"build_dependencies":["go"],"dependencies":[],"recommended_dependencies":[],"optional_dependencies":[],"uses_from_macos":[],"requirements":[],"conflicts_with":[],"caveats":null,"installed":[],"linked_keg":null,"pinned":false,"outdated":false,"analytics":{"install":{"30d":{"hugo":24278,"hugo --HEAD":30},"90d":{"hugo":68639,"hugo --HEAD":80},"365d":{"hugo":223748,"hugo --HEAD":321}},"install_on_request":{"30d":{"hugo":23621,"hugo --HEAD":27},"90d":{"hugo":66676,"hugo --HEAD":74},"365d":{"hugo":215985,"hugo --HEAD":305}},"build_error":{"30d":{"hugo":0}}}}
|
||||
958
__tests__/data/github.json
Normal file
958
__tests__/data/github.json
Normal file
@@ -0,0 +1,958 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/22603992",
|
||||
"assets_url": "https://api.github.com/repos/gohugoio/hugo/releases/22603992/assets",
|
||||
"upload_url": "https://uploads.github.com/repos/gohugoio/hugo/releases/22603992/assets{?name,label}",
|
||||
"html_url": "https://github.com/gohugoio/hugo/releases/tag/v0.62.2",
|
||||
"id": 22603992,
|
||||
"node_id": "MDc6UmVsZWFzZTIyNjAzOTky",
|
||||
"tag_name": "v0.62.2",
|
||||
"target_commitish": "master",
|
||||
"name": "v0.62.2",
|
||||
"draft": false,
|
||||
"author": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"prerelease": false,
|
||||
"created_at": "2020-01-05T18:50:35Z",
|
||||
"published_at": "2020-01-05T19:35:16Z",
|
||||
"assets": [
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152845",
|
||||
"id": 17152845,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODQ1",
|
||||
"name": "hugo_0.62.2_checksums.txt",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "text/plain; charset=utf-8",
|
||||
"state": "uploaded",
|
||||
"size": 2552,
|
||||
"download_count": 328,
|
||||
"created_at": "2020-01-05T18:58:47Z",
|
||||
"updated_at": "2020-01-05T18:58:47Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_checksums.txt"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152874",
|
||||
"id": 17152874,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODc0",
|
||||
"name": "hugo_0.62.2_DragonFlyBSD-64bit.tar.gz",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/gzip",
|
||||
"state": "uploaded",
|
||||
"size": 13188250,
|
||||
"download_count": 25,
|
||||
"created_at": "2020-01-05T18:58:52Z",
|
||||
"updated_at": "2020-01-05T18:58:52Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_DragonFlyBSD-64bit.tar.gz"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152867",
|
||||
"id": 17152867,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODY3",
|
||||
"name": "hugo_0.62.2_FreeBSD-32bit.tar.gz",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/gzip",
|
||||
"state": "uploaded",
|
||||
"size": 12223449,
|
||||
"download_count": 10,
|
||||
"created_at": "2020-01-05T18:58:50Z",
|
||||
"updated_at": "2020-01-05T18:58:53Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_FreeBSD-32bit.tar.gz"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152850",
|
||||
"id": 17152850,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODUw",
|
||||
"name": "hugo_0.62.2_FreeBSD-64bit.tar.gz",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/gzip",
|
||||
"state": "uploaded",
|
||||
"size": 13195767,
|
||||
"download_count": 38,
|
||||
"created_at": "2020-01-05T18:58:47Z",
|
||||
"updated_at": "2020-01-05T18:58:48Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_FreeBSD-64bit.tar.gz"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152869",
|
||||
"id": 17152869,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODY5",
|
||||
"name": "hugo_0.62.2_FreeBSD-ARM.tar.gz",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/gzip",
|
||||
"state": "uploaded",
|
||||
"size": 12336796,
|
||||
"download_count": 12,
|
||||
"created_at": "2020-01-05T18:58:50Z",
|
||||
"updated_at": "2020-01-05T18:58:51Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_FreeBSD-ARM.tar.gz"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152855",
|
||||
"id": 17152855,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODU1",
|
||||
"name": "hugo_0.62.2_Linux-32bit.deb",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/x-debian-package",
|
||||
"state": "uploaded",
|
||||
"size": 12226680,
|
||||
"download_count": 37,
|
||||
"created_at": "2020-01-05T18:58:48Z",
|
||||
"updated_at": "2020-01-05T18:58:55Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Linux-32bit.deb"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152849",
|
||||
"id": 17152849,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODQ5",
|
||||
"name": "hugo_0.62.2_Linux-32bit.tar.gz",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/gzip",
|
||||
"state": "uploaded",
|
||||
"size": 12228575,
|
||||
"download_count": 31,
|
||||
"created_at": "2020-01-05T18:58:47Z",
|
||||
"updated_at": "2020-01-05T18:58:48Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Linux-32bit.tar.gz"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152858",
|
||||
"id": 17152858,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODU4",
|
||||
"name": "hugo_0.62.2_Linux-64bit.deb",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/x-debian-package",
|
||||
"state": "uploaded",
|
||||
"size": 13182646,
|
||||
"download_count": 2260,
|
||||
"created_at": "2020-01-05T18:58:49Z",
|
||||
"updated_at": "2020-01-05T18:58:49Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Linux-64bit.deb"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152851",
|
||||
"id": 17152851,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODUx",
|
||||
"name": "hugo_0.62.2_Linux-64bit.tar.gz",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/gzip",
|
||||
"state": "uploaded",
|
||||
"size": 13192573,
|
||||
"download_count": 5752,
|
||||
"created_at": "2020-01-05T18:58:47Z",
|
||||
"updated_at": "2020-01-05T18:58:48Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Linux-64bit.tar.gz"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152856",
|
||||
"id": 17152856,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODU2",
|
||||
"name": "hugo_0.62.2_Linux-ARM.deb",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/x-debian-package",
|
||||
"state": "uploaded",
|
||||
"size": 12324130,
|
||||
"download_count": 47,
|
||||
"created_at": "2020-01-05T18:58:48Z",
|
||||
"updated_at": "2020-01-05T18:58:49Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Linux-ARM.deb"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152854",
|
||||
"id": 17152854,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODU0",
|
||||
"name": "hugo_0.62.2_Linux-ARM.tar.gz",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/gzip",
|
||||
"state": "uploaded",
|
||||
"size": 12330563,
|
||||
"download_count": 35,
|
||||
"created_at": "2020-01-05T18:58:48Z",
|
||||
"updated_at": "2020-01-05T18:58:48Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Linux-ARM.tar.gz"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152857",
|
||||
"id": 17152857,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODU3",
|
||||
"name": "hugo_0.62.2_Linux-ARM64.deb",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/x-debian-package",
|
||||
"state": "uploaded",
|
||||
"size": 12113228,
|
||||
"download_count": 38,
|
||||
"created_at": "2020-01-05T18:58:49Z",
|
||||
"updated_at": "2020-01-05T18:58:49Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Linux-ARM64.deb"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152843",
|
||||
"id": 17152843,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODQz",
|
||||
"name": "hugo_0.62.2_Linux-ARM64.tar.gz",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/gzip",
|
||||
"state": "uploaded",
|
||||
"size": 12119126,
|
||||
"download_count": 63,
|
||||
"created_at": "2020-01-05T18:58:47Z",
|
||||
"updated_at": "2020-01-05T18:58:47Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Linux-ARM64.tar.gz"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152873",
|
||||
"id": 17152873,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODcz",
|
||||
"name": "hugo_0.62.2_macOS-32bit.tar.gz",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/gzip",
|
||||
"state": "uploaded",
|
||||
"size": 12805086,
|
||||
"download_count": 25,
|
||||
"created_at": "2020-01-05T18:58:52Z",
|
||||
"updated_at": "2020-01-05T18:58:52Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_macOS-32bit.tar.gz"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152868",
|
||||
"id": 17152868,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODY4",
|
||||
"name": "hugo_0.62.2_macOS-64bit.tar.gz",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/gzip",
|
||||
"state": "uploaded",
|
||||
"size": 13765882,
|
||||
"download_count": 479,
|
||||
"created_at": "2020-01-05T18:58:50Z",
|
||||
"updated_at": "2020-01-05T18:58:51Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_macOS-64bit.tar.gz"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152846",
|
||||
"id": 17152846,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODQ2",
|
||||
"name": "hugo_0.62.2_NetBSD-32bit.tar.gz",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/gzip",
|
||||
"state": "uploaded",
|
||||
"size": 12206852,
|
||||
"download_count": 8,
|
||||
"created_at": "2020-01-05T18:58:47Z",
|
||||
"updated_at": "2020-01-05T18:58:47Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_NetBSD-32bit.tar.gz"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152863",
|
||||
"id": 17152863,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODYz",
|
||||
"name": "hugo_0.62.2_NetBSD-64bit.tar.gz",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/gzip",
|
||||
"state": "uploaded",
|
||||
"size": 13186059,
|
||||
"download_count": 12,
|
||||
"created_at": "2020-01-05T18:58:49Z",
|
||||
"updated_at": "2020-01-05T18:58:50Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_NetBSD-64bit.tar.gz"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152870",
|
||||
"id": 17152870,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODcw",
|
||||
"name": "hugo_0.62.2_NetBSD-ARM.tar.gz",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/gzip",
|
||||
"state": "uploaded",
|
||||
"size": 12325194,
|
||||
"download_count": 8,
|
||||
"created_at": "2020-01-05T18:58:51Z",
|
||||
"updated_at": "2020-01-05T18:58:52Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_NetBSD-ARM.tar.gz"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152861",
|
||||
"id": 17152861,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODYx",
|
||||
"name": "hugo_0.62.2_OpenBSD-32bit.tar.gz",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/gzip",
|
||||
"state": "uploaded",
|
||||
"size": 12208022,
|
||||
"download_count": 11,
|
||||
"created_at": "2020-01-05T18:58:49Z",
|
||||
"updated_at": "2020-01-05T18:58:50Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_OpenBSD-32bit.tar.gz"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152871",
|
||||
"id": 17152871,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODcx",
|
||||
"name": "hugo_0.62.2_OpenBSD-64bit.tar.gz",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/gzip",
|
||||
"state": "uploaded",
|
||||
"size": 13183077,
|
||||
"download_count": 39,
|
||||
"created_at": "2020-01-05T18:58:51Z",
|
||||
"updated_at": "2020-01-05T18:58:52Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_OpenBSD-64bit.tar.gz"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152864",
|
||||
"id": 17152864,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODY0",
|
||||
"name": "hugo_0.62.2_OpenBSD-ARM.tar.gz",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/gzip",
|
||||
"state": "uploaded",
|
||||
"size": 12322903,
|
||||
"download_count": 9,
|
||||
"created_at": "2020-01-05T18:58:50Z",
|
||||
"updated_at": "2020-01-05T18:58:50Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_OpenBSD-ARM.tar.gz"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152862",
|
||||
"id": 17152862,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODYy",
|
||||
"name": "hugo_0.62.2_Windows-32bit.zip",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/zip",
|
||||
"state": "uploaded",
|
||||
"size": 12221573,
|
||||
"download_count": 154,
|
||||
"created_at": "2020-01-05T18:58:49Z",
|
||||
"updated_at": "2020-01-05T18:58:50Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Windows-32bit.zip"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152865",
|
||||
"id": 17152865,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODY1",
|
||||
"name": "hugo_0.62.2_Windows-64bit.zip",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/zip",
|
||||
"state": "uploaded",
|
||||
"size": 13265631,
|
||||
"download_count": 7902,
|
||||
"created_at": "2020-01-05T18:58:50Z",
|
||||
"updated_at": "2020-01-05T18:58:50Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Windows-64bit.zip"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152859",
|
||||
"id": 17152859,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODU5",
|
||||
"name": "hugo_extended_0.62.2_Linux-64bit.deb",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/x-debian-package",
|
||||
"state": "uploaded",
|
||||
"size": 14137254,
|
||||
"download_count": 855,
|
||||
"created_at": "2020-01-05T18:58:49Z",
|
||||
"updated_at": "2020-01-05T18:58:49Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_extended_0.62.2_Linux-64bit.deb"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152844",
|
||||
"id": 17152844,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODQ0",
|
||||
"name": "hugo_extended_0.62.2_Linux-64bit.tar.gz",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/gzip",
|
||||
"state": "uploaded",
|
||||
"size": 14145652,
|
||||
"download_count": 5218,
|
||||
"created_at": "2020-01-05T18:58:47Z",
|
||||
"updated_at": "2020-01-05T18:58:47Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_extended_0.62.2_Linux-64bit.tar.gz"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152852",
|
||||
"id": 17152852,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODUy",
|
||||
"name": "hugo_extended_0.62.2_macOS-64bit.tar.gz",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/gzip",
|
||||
"state": "uploaded",
|
||||
"size": 14784660,
|
||||
"download_count": 628,
|
||||
"created_at": "2020-01-05T18:58:47Z",
|
||||
"updated_at": "2020-01-05T18:58:48Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_extended_0.62.2_macOS-64bit.tar.gz"
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152853",
|
||||
"id": 17152853,
|
||||
"node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODUz",
|
||||
"name": "hugo_extended_0.62.2_Windows-64bit.zip",
|
||||
"label": "",
|
||||
"uploader": {
|
||||
"login": "bep",
|
||||
"id": 394382,
|
||||
"node_id": "MDQ6VXNlcjM5NDM4Mg==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bep",
|
||||
"html_url": "https://github.com/bep",
|
||||
"followers_url": "https://api.github.com/users/bep/followers",
|
||||
"following_url": "https://api.github.com/users/bep/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bep/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bep/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bep/orgs",
|
||||
"repos_url": "https://api.github.com/users/bep/repos",
|
||||
"events_url": "https://api.github.com/users/bep/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bep/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"content_type": "application/zip",
|
||||
"state": "uploaded",
|
||||
"size": 30553922,
|
||||
"download_count": 3681,
|
||||
"created_at": "2020-01-05T18:58:48Z",
|
||||
"updated_at": "2020-01-05T18:58:49Z",
|
||||
"browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_extended_0.62.2_Windows-64bit.zip"
|
||||
}
|
||||
],
|
||||
"tarball_url": "https://api.github.com/repos/gohugoio/hugo/tarball/v0.62.2",
|
||||
"zipball_url": "https://api.github.com/repos/gohugoio/hugo/zipball/v0.62.2",
|
||||
"body": "The main driving force behind these patch releases in the new year has been getting a good story with [portable links](https://github.com/bep/portable-hugo-links/) between GitHub and Hugo, using the new render hooks introduced in [Hugo 0.62.0](https://gohugo.io/news/0.62.0-relnotes/). And all was mostly well until a Hugo user asked about anchor links. Which is, when you look into it, a slightly sad Markdown story. They have been [talking about anchors in Markdown](https://talk.commonmark.org/t/anchors-in-markdown/247) over at the CommonMark forum for the last six years, but it has come to nothing. The current situation is that some Markdown engines support the `{#anchorName}` attribute syntax (Hugo's Goldmark does, GitHub does not) and for those that support auto-generation of IDs, the implementation often varies. And this makes for poor portability.\r\n\r\nTo improve this, Hugo has now reverse-engineered GitHub's implementation and made that the default strategy for generation or header IDs. We understand that this isn't everyone's cup of tea, so you can [configure the behaviour](https://gohugo.io/getting-started/configuration-markup#goldmark) to be one of `github`, `github-ascii` (some client-libraries have Unicode issues) or `blackfriday` (which will match how it behaved before Hugo 0.60).\r\n\r\n* hugolib: Fix relative .Page.GetPage from bundle [196a9df5](https://github.com/gohugoio/hugo/commit/196a9df585c4744e3280f37c1c24e469fce14b8c) [@bep](https://github.com/bep) [#6705](https://github.com/gohugoio/hugo/issues/6705)\r\n* markup/goldmark: Adjust auto ID space handling [9b6e6146](https://github.com/gohugoio/hugo/commit/9b6e61464b09ffe3423fb8d7c72bddb7a9ed5b98) [@bep](https://github.com/bep) [#6710](https://github.com/gohugoio/hugo/issues/6710)\r\n* docs: Document the new autoHeadingIDType setting [d62ede8e](https://github.com/gohugoio/hugo/commit/d62ede8e9e5883e7ebb023e49b82f07b45edc1c7) [@bep](https://github.com/bep) [#6707](https://github.com/gohugoio/hugo/issues/6707)[#6616](https://github.com/gohugoio/hugo/issues/6616)\r\n* docs: Regenerate docshelper [81b7e48a](https://github.com/gohugoio/hugo/commit/81b7e48a55092203aeee8785799e6fed3928760e) [@bep](https://github.com/bep) [#6707](https://github.com/gohugoio/hugo/issues/6707)[#6616](https://github.com/gohugoio/hugo/issues/6616)\r\n* markup/goldmark: Add an optional Blackfriday auto ID strategy [16e7c112](https://github.com/gohugoio/hugo/commit/16e7c1120346bd853cf6510ffac8e94824bf2c7f) [@bep](https://github.com/bep) [#6707](https://github.com/gohugoio/hugo/issues/6707)\r\n* markup/goldmark: Make the autoID type config a string [8f071fc1](https://github.com/gohugoio/hugo/commit/8f071fc159ce9a0fc0ea14a73bde8f299bedd109) [@bep](https://github.com/bep) [#6707](https://github.com/gohugoio/hugo/issues/6707)\r\n* markup/goldmark: Simplify code [5ee1f087](https://github.com/gohugoio/hugo/commit/5ee1f0876f3ec8b79d6305298185dc821ead2d28) [@bep](https://github.com/bep) \r\n* markup/goldmark: Make auto IDs GitHub compatible [a82d2700](https://github.com/gohugoio/hugo/commit/a82d2700fcc772aada15d65b8f76913ca23f7404) [@bep](https://github.com/bep) [#6616](https://github.com/gohugoio/hugo/issues/6616)\r\n\r\n\r\n\r\n\r\n"
|
||||
}
|
||||
64
__tests__/get-latest-version.test.ts
Normal file
64
__tests__/get-latest-version.test.ts
Normal file
@@ -0,0 +1,64 @@
|
||||
import {getURL, getLatestVersion} from '../src/get-latest-version';
|
||||
import nock from 'nock';
|
||||
import {FetchError} from 'node-fetch';
|
||||
import {Tool} from '../src/constants';
|
||||
import jsonTestBrew from './data/brew.json';
|
||||
import jsonTestGithub from './data/github.json';
|
||||
|
||||
beforeEach(() => {
|
||||
jest.resetModules();
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
nock.cleanAll();
|
||||
});
|
||||
|
||||
describe('getURL()', () => {
|
||||
test('return expected URL', () => {
|
||||
const urlBrewExpected = `https://formulae.brew.sh/api/formula/${Tool.Repo}.json`;
|
||||
const urlBrew: string = getURL(Tool.Org, Tool.Repo, 'brew');
|
||||
expect(urlBrew).toMatch(urlBrewExpected);
|
||||
|
||||
const urlGithubExpected = `https://api.github.com/repos/${Tool.Org}/${Tool.Repo}/releases/latest`;
|
||||
const urlGithub: string = getURL(Tool.Org, Tool.Repo, 'github');
|
||||
expect(urlGithub).toMatch(urlGithubExpected);
|
||||
});
|
||||
});
|
||||
|
||||
describe('getLatestVersion()', () => {
|
||||
test('return latest version via brew', async () => {
|
||||
nock('https://formulae.brew.sh')
|
||||
.get(`/api/formula/${Tool.Repo}.json`)
|
||||
.reply(200, jsonTestBrew);
|
||||
|
||||
const versionLatest: string = await getLatestVersion(
|
||||
Tool.Org,
|
||||
Tool.Repo,
|
||||
'brew'
|
||||
);
|
||||
expect(versionLatest).toMatch(Tool.TestVersionLatest);
|
||||
});
|
||||
|
||||
test('return latest version via GitHub', async () => {
|
||||
nock('https://api.github.com')
|
||||
.get(`/repos/${Tool.Org}/${Tool.Repo}/releases/latest`)
|
||||
.reply(200, jsonTestGithub);
|
||||
|
||||
const versionLatest: string = await getLatestVersion(
|
||||
Tool.Org,
|
||||
Tool.Repo,
|
||||
'github'
|
||||
);
|
||||
expect(versionLatest).toMatch(Tool.TestVersionLatest);
|
||||
});
|
||||
|
||||
test('return exception 404', async () => {
|
||||
nock('https://formulae.brew.sh')
|
||||
.get(`/api/formula/${Tool.Repo}.json`)
|
||||
.reply(404);
|
||||
|
||||
await expect(
|
||||
getLatestVersion(Tool.Org, Tool.Repo, 'brew')
|
||||
).rejects.toThrowError(FetchError);
|
||||
});
|
||||
});
|
||||
98
__tests__/main.test.ts
Normal file
98
__tests__/main.test.ts
Normal file
@@ -0,0 +1,98 @@
|
||||
import * as main from '../src/main';
|
||||
import * as io from '@actions/io';
|
||||
import path from 'path';
|
||||
import nock from 'nock';
|
||||
import {Tool, Action} from '../src/constants';
|
||||
import {FetchError} from 'node-fetch';
|
||||
import jsonTestBrew from './data/brew.json';
|
||||
// import jsonTestGithub from './data/github.json';
|
||||
|
||||
jest.setTimeout(30000);
|
||||
|
||||
describe('Integration testing run()', () => {
|
||||
beforeEach(() => {
|
||||
jest.resetModules();
|
||||
});
|
||||
|
||||
afterEach(async () => {
|
||||
const workDir = path.join(`${process.env.HOME}`, Action.WorkDirName);
|
||||
await io.rmRF(workDir);
|
||||
|
||||
delete process.env['INPUT_HUGO-VERSION'];
|
||||
nock.cleanAll();
|
||||
});
|
||||
|
||||
test('succeed in installing a custom version', async () => {
|
||||
const testVersion = Tool.TestVersionSpec;
|
||||
process.env['INPUT_HUGO-VERSION'] = testVersion;
|
||||
const result: main.ActionResult = await main.run();
|
||||
expect(result.exitcode).toBe(0);
|
||||
expect(result.output).toMatch(`Hugo Static Site Generator v${testVersion}`);
|
||||
});
|
||||
|
||||
test('succeed in installing a custom extended version', async () => {
|
||||
const testVersion = Tool.TestVersionSpec;
|
||||
process.env['INPUT_HUGO-VERSION'] = testVersion;
|
||||
process.env['INPUT_EXTENDED'] = 'true';
|
||||
const result: main.ActionResult = await main.run();
|
||||
expect(result.exitcode).toBe(0);
|
||||
expect(result.output).toMatch(`Hugo Static Site Generator v${testVersion}`);
|
||||
expect(result.output).toMatch(`extended`);
|
||||
});
|
||||
|
||||
test('succeed in installing the latest version', async () => {
|
||||
const testVersion = 'latest';
|
||||
process.env['INPUT_HUGO-VERSION'] = testVersion;
|
||||
nock('https://formulae.brew.sh')
|
||||
.get(`/api/formula/${Tool.Repo}.json`)
|
||||
.reply(200, jsonTestBrew);
|
||||
const result: main.ActionResult = await main.run();
|
||||
expect(result.exitcode).toBe(0);
|
||||
expect(result.output).toMatch(
|
||||
`Hugo Static Site Generator v${Tool.TestVersionLatest}`
|
||||
);
|
||||
});
|
||||
|
||||
test('succeed in installing the latest extended version', async () => {
|
||||
const testVersion = 'latest';
|
||||
process.env['INPUT_HUGO-VERSION'] = testVersion;
|
||||
process.env['INPUT_EXTENDED'] = 'true';
|
||||
nock('https://formulae.brew.sh')
|
||||
.get(`/api/formula/${Tool.Repo}.json`)
|
||||
.reply(200, jsonTestBrew);
|
||||
const result: main.ActionResult = await main.run();
|
||||
expect(result.exitcode).toBe(0);
|
||||
expect(result.output).toMatch(
|
||||
`Hugo Static Site Generator v${Tool.TestVersionLatest}`
|
||||
);
|
||||
expect(result.output).toMatch(`extended`);
|
||||
});
|
||||
|
||||
test('fail to install the latest version due to 404 of brew', async () => {
|
||||
process.env['INPUT_HUGO-VERSION'] = 'latest';
|
||||
nock('https://formulae.brew.sh')
|
||||
.get(`/api/formula/${Tool.Repo}.json`)
|
||||
.reply(404);
|
||||
|
||||
await expect(main.run()).rejects.toThrowError(FetchError);
|
||||
});
|
||||
});
|
||||
|
||||
describe('showVersion()', () => {
|
||||
let result: main.ActionResult = {
|
||||
exitcode: 0,
|
||||
output: ''
|
||||
};
|
||||
|
||||
test('return version', async () => {
|
||||
result = await main.showVersion('git', ['--version']);
|
||||
expect(result.exitcode).toBe(0);
|
||||
expect(result.output).toMatch(/git version/);
|
||||
});
|
||||
|
||||
test('return not found', async () => {
|
||||
await expect(
|
||||
main.showVersion('gitgit', ['--version'])
|
||||
).rejects.toThrowError(Error);
|
||||
});
|
||||
});
|
||||
3433
lib/index.js
3433
lib/index.js
File diff suppressed because it is too large
Load Diff
9084
package-lock.json
generated
9084
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
53
package.json
53
package.json
@@ -1,11 +1,16 @@
|
||||
{
|
||||
"name": "hugo-action",
|
||||
"version": "2.4.0",
|
||||
"description": "Hugo setup action",
|
||||
"name": "actions-hugo",
|
||||
"version": "2.4.10",
|
||||
"description": "GitHub Actions for Hugo",
|
||||
"main": "lib/index.js",
|
||||
"engines": {
|
||||
"node": ">=12.14.1",
|
||||
"npm": ">=6.13.7"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint ./src/**/*.ts",
|
||||
"lint:fix": "eslint --fix ./src/**/*.ts",
|
||||
"all": "npm run format:check && npm run lint && npm test",
|
||||
"lint": "eslint ./{src,__tests__}/**/*.ts",
|
||||
"lint:fix": "eslint --fix ./{src,__tests__}/**/*.ts",
|
||||
"test": "jest --coverage --verbose",
|
||||
"build": "ncc build ./src/index.ts -o lib",
|
||||
"tsc": "tsc",
|
||||
@@ -24,9 +29,7 @@
|
||||
"lint-staged": {
|
||||
"src/**/*.ts": [
|
||||
"prettier --check",
|
||||
"eslint",
|
||||
"jest --bail --findRelatedTests",
|
||||
"git add"
|
||||
"eslint"
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
@@ -48,25 +51,29 @@
|
||||
},
|
||||
"homepage": "https://github.com/peaceiris/actions-hugo#readme",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.2.1",
|
||||
"@actions/core": "^1.2.3",
|
||||
"@actions/exec": "^1.0.3",
|
||||
"@actions/io": "^1.0.2",
|
||||
"@actions/tool-cache": "^1.3.0",
|
||||
"xmlhttprequest": "^1.8.0"
|
||||
"@actions/tool-cache": "^1.3.3",
|
||||
"node-fetch": "^2.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^24.9.0",
|
||||
"@types/node": "^13.1.7",
|
||||
"@typescript-eslint/parser": "^2.16.0",
|
||||
"@zeit/ncc": "^0.21.0",
|
||||
"@types/jest": "^25.2.1",
|
||||
"@types/node": "~12",
|
||||
"@types/node-fetch": "^2.5.6",
|
||||
"@typescript-eslint/eslint-plugin": "^2.28.0",
|
||||
"@typescript-eslint/parser": "^2.28.0",
|
||||
"@zeit/ncc": "^0.22.1",
|
||||
"eslint": "^6.8.0",
|
||||
"husky": "^4.0.10",
|
||||
"jest": "^24.9.0",
|
||||
"jest-circus": "^24.9.0",
|
||||
"lint-staged": "^9.5.0",
|
||||
"prettier": "1.19.1",
|
||||
"standard-version": "^7.0.1",
|
||||
"ts-jest": "^24.3.0",
|
||||
"typescript": "^3.7.5"
|
||||
"eslint-plugin-jest": "^23.8.2",
|
||||
"husky": "^4.2.5",
|
||||
"jest": "^25.3.0",
|
||||
"jest-circus": "^25.3.0",
|
||||
"lint-staged": "^10.1.3",
|
||||
"nock": "^12.0.3",
|
||||
"prettier": "2.0.4",
|
||||
"standard-version": "^7.1.0",
|
||||
"ts-jest": "^25.3.1",
|
||||
"typescript": "^3.8.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ fi
|
||||
|
||||
git fetch origin
|
||||
git pull origin master
|
||||
git tag -d v2
|
||||
git tag -d v2 || true
|
||||
git pull origin --tags
|
||||
|
||||
npm ci
|
||||
|
||||
14
src/constants.ts
Normal file
14
src/constants.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
export enum Tool {
|
||||
Name = 'Hugo',
|
||||
Org = 'gohugoio',
|
||||
Repo = 'hugo',
|
||||
CmdName = 'hugo',
|
||||
CmdOptVersion = 'version',
|
||||
TestVersionLatest = '0.62.2',
|
||||
TestVersionSpec = '0.61.0'
|
||||
}
|
||||
|
||||
export enum Action {
|
||||
WorkDirName = 'actions_hugo',
|
||||
TempDirName = '_temp'
|
||||
}
|
||||
@@ -1,19 +1,30 @@
|
||||
const XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest;
|
||||
import fetch from 'node-fetch';
|
||||
|
||||
export default function getLatestVersion(): Promise<string> {
|
||||
return new Promise((resolve, reject) => {
|
||||
const xhr = new XMLHttpRequest();
|
||||
const url: string = 'https://formulae.brew.sh/api/formula/hugo.json';
|
||||
xhr.open('GET', url);
|
||||
xhr.send();
|
||||
xhr.onreadystatechange = function() {
|
||||
if (xhr.readyState === 4 && xhr.status === 200) {
|
||||
const result = JSON.parse(xhr.responseText);
|
||||
const latestVersion: string = result.versions.stable;
|
||||
resolve(latestVersion);
|
||||
} else if (xhr.readyState === 4 && xhr.status !== 200) {
|
||||
reject(`ERROR: got status ${xhr.status} of ${url}`);
|
||||
export function getURL(org: string, repo: string, api: string): string {
|
||||
let url = '';
|
||||
|
||||
if (api === 'brew') {
|
||||
url = `https://formulae.brew.sh/api/formula/${repo}.json`;
|
||||
} else if (api === 'github') {
|
||||
url = `https://api.github.com/repos/${org}/${repo}/releases/latest`;
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
return url;
|
||||
}
|
||||
|
||||
export async function getLatestVersion(
|
||||
org: string,
|
||||
repo: string,
|
||||
api: string
|
||||
): Promise<string> {
|
||||
const url = getURL(org, repo, api);
|
||||
const response = await fetch(url);
|
||||
const json = await response.json();
|
||||
let latestVersion = '';
|
||||
if (api === 'brew') {
|
||||
latestVersion = json.versions.stable;
|
||||
} else if (api === 'github') {
|
||||
latestVersion = json.tag_name;
|
||||
}
|
||||
return latestVersion;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export default function getOS(platform: string) {
|
||||
export default function getOS(platform: string): string {
|
||||
if (platform === 'linux') {
|
||||
return 'Linux';
|
||||
} else if (platform === 'darwin') {
|
||||
|
||||
@@ -3,7 +3,7 @@ export default function getURL(
|
||||
extended: string,
|
||||
version: string
|
||||
): string {
|
||||
const extendedStr = (extended: string) => {
|
||||
const extendedStr = (extended: string): string => {
|
||||
if (extended === 'true') {
|
||||
return 'extended_';
|
||||
} else {
|
||||
@@ -13,7 +13,7 @@ export default function getURL(
|
||||
}
|
||||
};
|
||||
|
||||
const ext = (os: string) => {
|
||||
const ext = (os: string): string => {
|
||||
if (os === 'Windows') {
|
||||
return 'zip';
|
||||
} else {
|
||||
@@ -21,11 +21,9 @@ export default function getURL(
|
||||
}
|
||||
};
|
||||
|
||||
const hugoName: string = `hugo_${extendedStr(
|
||||
extended
|
||||
)}${version}_${os}-64bit`;
|
||||
const baseURL: string = 'https://github.com/gohugoio/hugo/releases/download';
|
||||
const url: string = `${baseURL}/v${version}/${hugoName}.${ext(os)}`;
|
||||
const hugoName = `hugo_${extendedStr(extended)}${version}_${os}-64bit`;
|
||||
const baseURL = 'https://github.com/gohugoio/hugo/releases/download';
|
||||
const url = `${baseURL}/v${version}/${hugoName}.${ext(os)}`;
|
||||
|
||||
return url;
|
||||
}
|
||||
|
||||
36
src/index.ts
36
src/index.ts
@@ -1,36 +1,8 @@
|
||||
import * as core from '@actions/core';
|
||||
import * as exec from '@actions/exec';
|
||||
import getLatestVersion from './get-latest-version';
|
||||
import installer from './installer';
|
||||
|
||||
// most @actions toolkit packages have async methods
|
||||
async function run() {
|
||||
const showVersion = async () => {
|
||||
await exec.exec('hugo version');
|
||||
};
|
||||
import * as main from './main';
|
||||
|
||||
try {
|
||||
const hugoVersion: string = core.getInput('hugo-version');
|
||||
|
||||
if (hugoVersion === '' || hugoVersion === 'latest') {
|
||||
getLatestVersion().then(
|
||||
async function(latestVersion): Promise<void> {
|
||||
console.log(`Hugo version: ${latestVersion} (${hugoVersion})`);
|
||||
await installer(latestVersion);
|
||||
await showVersion();
|
||||
},
|
||||
function(error) {
|
||||
core.setFailed(error);
|
||||
main.run();
|
||||
} catch (e) {
|
||||
core.setFailed(`Action failed with error ${e}`);
|
||||
}
|
||||
);
|
||||
} else {
|
||||
console.log(`Hugo version: ${hugoVersion}`);
|
||||
await installer(hugoVersion);
|
||||
await showVersion();
|
||||
}
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
}
|
||||
|
||||
run();
|
||||
|
||||
@@ -4,58 +4,72 @@ import * as io from '@actions/io';
|
||||
import getOS from './get-os';
|
||||
import getURL from './get-url';
|
||||
import * as path from 'path';
|
||||
import {Tool, Action} from './constants';
|
||||
|
||||
export function getHomeDir(): string {
|
||||
let homedir = '';
|
||||
|
||||
let tempDir: string = process.env['RUNNER_TEMPDIRECTORY'] || '';
|
||||
if (!tempDir) {
|
||||
let baseTempLocation: string;
|
||||
if (process.platform === 'win32') {
|
||||
baseTempLocation = process.env['USERPROFILE'] || 'C:\\';
|
||||
homedir = process.env['USERPROFILE'] || 'C:\\';
|
||||
} else {
|
||||
baseTempLocation = `${process.env.HOME}`;
|
||||
}
|
||||
tempDir = path.join(baseTempLocation, 'tmp');
|
||||
homedir = `${process.env.HOME}`;
|
||||
}
|
||||
|
||||
export default async function installer(version: string) {
|
||||
try {
|
||||
core.debug(`homeDir: ${homedir}`);
|
||||
|
||||
return homedir;
|
||||
}
|
||||
|
||||
export async function createWorkDir(): Promise<string> {
|
||||
const workDir = path.join(getHomeDir(), Action.WorkDirName);
|
||||
await io.mkdirP(workDir);
|
||||
core.debug(`workDir: ${workDir}`);
|
||||
return workDir;
|
||||
}
|
||||
|
||||
export async function createTempDir(workDir: string): Promise<string> {
|
||||
const tempDir = path.join(workDir, Action.TempDirName);
|
||||
await io.mkdirP(tempDir);
|
||||
core.debug(`tempDir: ${tempDir}`);
|
||||
return tempDir;
|
||||
}
|
||||
|
||||
export async function createBinDir(workDir: string): Promise<string> {
|
||||
const binDir = path.join(workDir, 'bin');
|
||||
await io.mkdirP(binDir);
|
||||
core.addPath(binDir);
|
||||
core.debug(`binDir: ${binDir}`);
|
||||
return binDir;
|
||||
}
|
||||
|
||||
export async function installer(version: string): Promise<void> {
|
||||
const extended: string = core.getInput('extended');
|
||||
console.log(`Hugo extended: ${extended}`);
|
||||
core.debug(`Hugo extended: ${extended}`);
|
||||
|
||||
const osName: string = getOS(process.platform);
|
||||
console.log(`Operating System: ${osName}`);
|
||||
core.debug(`Operating System: ${osName}`);
|
||||
|
||||
const hugoURL: string = getURL(osName, extended, version);
|
||||
core.debug(`hugoURL: ${hugoURL}`);
|
||||
const toolURL: string = getURL(osName, extended, version);
|
||||
core.debug(`toolURL: ${toolURL}`);
|
||||
|
||||
let baseLocation: string;
|
||||
const workDir = await createWorkDir();
|
||||
const binDir = await createBinDir(workDir);
|
||||
const tempDir = await createTempDir(workDir);
|
||||
|
||||
const toolAssets: string = await tc.downloadTool(toolURL);
|
||||
let toolBin = '';
|
||||
if (process.platform === 'win32') {
|
||||
baseLocation = process.env['USERPROFILE'] || 'C:\\';
|
||||
} else {
|
||||
baseLocation = `${process.env.HOME}`;
|
||||
}
|
||||
const hugoPath: string = path.join(baseLocation, 'hugobin');
|
||||
await io.mkdirP(hugoPath);
|
||||
core.addPath(hugoPath);
|
||||
|
||||
// Download and extract Hugo binary
|
||||
await io.mkdirP(tempDir);
|
||||
const hugoAssets: string = await tc.downloadTool(hugoURL);
|
||||
let hugoBin: string = '';
|
||||
if (osName === 'Windows') {
|
||||
const hugoExtractedFolder: string = await tc.extractZip(
|
||||
hugoAssets,
|
||||
const toolExtractedFolder: string = await tc.extractZip(
|
||||
toolAssets,
|
||||
tempDir
|
||||
);
|
||||
hugoBin = `${hugoExtractedFolder}/hugo.exe`;
|
||||
toolBin = `${toolExtractedFolder}/${Tool.CmdName}.exe`;
|
||||
} else {
|
||||
const hugoExtractedFolder: string = await tc.extractTar(
|
||||
hugoAssets,
|
||||
const toolExtractedFolder: string = await tc.extractTar(
|
||||
toolAssets,
|
||||
tempDir
|
||||
);
|
||||
hugoBin = `${hugoExtractedFolder}/hugo`;
|
||||
}
|
||||
await io.mv(hugoBin, hugoPath);
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
toolBin = `${toolExtractedFolder}/${Tool.CmdName}`;
|
||||
}
|
||||
await io.mv(toolBin, binDir);
|
||||
}
|
||||
|
||||
56
src/main.ts
Normal file
56
src/main.ts
Normal file
@@ -0,0 +1,56 @@
|
||||
import * as core from '@actions/core';
|
||||
import * as exec from '@actions/exec';
|
||||
import {getLatestVersion} from './get-latest-version';
|
||||
import {installer} from './installer';
|
||||
import {Tool} from './constants';
|
||||
|
||||
export interface ActionResult {
|
||||
exitcode: number;
|
||||
output: string;
|
||||
}
|
||||
|
||||
export async function showVersion(
|
||||
cmd: string,
|
||||
args: string[]
|
||||
): Promise<ActionResult> {
|
||||
const result: ActionResult = {
|
||||
exitcode: 0,
|
||||
output: ''
|
||||
};
|
||||
|
||||
const options = {
|
||||
listeners: {
|
||||
stdout: (data: Buffer): void => {
|
||||
result.output += data.toString();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
result.exitcode = await exec.exec(cmd, args, options);
|
||||
core.debug(`command: ${cmd} ${args}`);
|
||||
core.debug(`exit code: ${result.exitcode}`);
|
||||
core.debug(`stdout: ${result.output}`);
|
||||
return result;
|
||||
}
|
||||
|
||||
export async function run(): Promise<ActionResult> {
|
||||
const toolVersion: string = core.getInput('hugo-version');
|
||||
let installVersion = '';
|
||||
|
||||
let result: ActionResult = {
|
||||
exitcode: 0,
|
||||
output: ''
|
||||
};
|
||||
|
||||
if (toolVersion === '' || toolVersion === 'latest') {
|
||||
installVersion = await getLatestVersion(Tool.Org, Tool.Repo, 'brew');
|
||||
} else {
|
||||
installVersion = toolVersion;
|
||||
}
|
||||
|
||||
core.info(`${Tool.Name} version: ${installVersion}`);
|
||||
await installer(installVersion);
|
||||
result = await showVersion(Tool.CmdName, [Tool.CmdOptVersion]);
|
||||
|
||||
return result;
|
||||
}
|
||||
@@ -45,7 +45,7 @@
|
||||
// "typeRoots": [], /* List of folders to include type definitions from. */
|
||||
// "types": [], /* Type declaration files to be included in compilation. */
|
||||
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
|
||||
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
|
||||
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
|
||||
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
|
||||
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
||||
|
||||
@@ -58,6 +58,8 @@
|
||||
/* Experimental Options */
|
||||
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
|
||||
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
|
||||
|
||||
"resolveJsonModule": true
|
||||
},
|
||||
"exclude": ["node_modules", "**/*.test.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user