Michael T Lombardi
b7e8a5bdba
(GH-608) Add getConventions and refactor
...
This commit introduces the getConventions function, which does a one-time calculation
for the changes in packaging conventions to propagate to the getArch and getOS
functions.
It updates those functions and the installer code to leverage the conventions.
Finally, it updates the test arrangement for getArch and getOS to use test cases
instead of repeating the same test over and over and adds unit tests for the new
getConventions function.
2022-10-13 23:13:33 -05:00
codefactor-io
c7d0025d39
[CodeFactor] Apply fixes to commit e70fd02
2022-10-06 13:13:28 +00:00
Michael T Lombardi
e70fd029fa
(GH-608) Fix package url for v0.102.0 & v0.103.0
...
Prior to this change, the URL building for versions of hugo was
deterministic as the URLs for the packages were set to a
project-specific standard. That URL creation began to fail for macOS in
[0.102.0] and for Windows in [0.103.0]. It does not fail for Linux
because the hugo releases for Linux continue to include the old package
naming as an alias.
This change:
- Updates the `get-os` function to take the hugo version as additional
input, altering the return value based on the version.
- Updates the `get-arch` function to take the operating system name and
hugo version as additional input, altering the return value based on
both. Including the OS name is required for handling macOS.
- Fixes #608
- Fixes #605
[0.102.0]: https://github.com/gohugoio/hugo/releases/tag/v0.102.0
[0.103.0]: https://github.com/gohugoio/hugo/releases/tag/v0.103.0
2022-10-06 08:09:56 -05:00
dependabot[bot]
a2eba60698
ci: bump actions/setup-node from 3.4.1 to 3.5.0 ( #606 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-28 11:06:30 +09:00
dependabot[bot]
831547a4b2
ci: bump actions/dependency-review-action from 1 to 2 ( #593 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-30 00:12:50 +09:00
Sardorbek Imomaliev
bd5a5edf1b
ci: drop ubuntu-18.04, add ubuntu-22.04 and ubuntu-latest ( #603 )
...
add support for ubuntu 22.04, drop ubuntu-18.04
- [starting with 8 of August 2022 support for ubuntu 18.04 is deprecated](https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/ )
- [ubuntu 22.04 is generally available](https://github.blog/changelog/2022-08-09-github-actions-ubuntu-22-04-is-now-generally-available-on-github-hosted-runners/ )
2022-08-30 00:06:54 +09:00
Sardorbek Imomaliev
46553eae11
docs: use setup-node cache-dependency-path ( #602 )
2022-08-27 20:15:37 +09:00
dependabot[bot]
11bede66e7
ci: bump actions/setup-node from 3.1.1 to 3.4.1 ( #598 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-15 11:36:30 +09:00
dependabot[bot]
808d10a6aa
ci: bump github/codeql-action from 1 to 2 ( #581 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 14:03:21 +09:00
dependabot[bot]
25736cc1c0
ci: bump actions/setup-node from 3.1.0 to 3.1.1 ( #577 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 12:20:37 +09:00
dependabot[bot]
6ce18a799f
ci: bump actions/upload-artifact from 2 to 3 ( #576 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 21:36:56 +09:00
Shohei Ueda
4809af4bd4
ci: add actions/dependency-review-action v1
2022-04-11 00:25:28 +09:00
dependabot[bot]
3c69ee1612
ci: bump codecov/codecov-action from 2.1.0 to 3 ( #575 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 21:38:22 +09:00
dependabot[bot]
2f2b8d32b9
ci: bump actions/setup-node from 3.0.0 to 3.1.0 ( #574 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 12:35:35 +09:00
dependabot[bot]
7d27b3ca0d
deps: bump @actions/exec from 1.0.4 to 1.1.1 ( #571 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 16:02:57 +09:00
dependabot[bot]
616b5f11b6
deps: bump @actions/tool-cache from 1.6.1 to 1.7.2 ( #570 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:56:30 +09:00
dependabot[bot]
91a922ca60
deps: bump glob-parent from 5.1.1 to 5.1.2 ( #563 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:56:09 +09:00
dependabot[bot]
8f469b17c3
deps: bump tmpl from 1.0.4 to 1.0.5 ( #558 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:55:26 +09:00
dependabot[bot]
26d3d6b656
deps: bump shelljs from 0.8.4 to 0.8.5 ( #561 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:55:08 +09:00
dependabot[bot]
f90a73305c
deps: bump trim-off-newlines from 1.0.1 to 1.0.3 ( #560 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:54:42 +09:00
dependabot[bot]
dee39257f5
deps: bump path-parse from 1.0.6 to 1.0.7 ( #559 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:54:02 +09:00
dependabot[bot]
be79927858
deps: bump @actions/core from 1.2.7 to 1.6.0 ( #544 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:40:34 +09:00
dependabot[bot]
b15a5c70d3
deps: bump ws from 7.4.0 to 7.5.7 ( #573 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-26 14:45:40 +09:00
dependabot[bot]
857689ab4c
deps: bump ansi-regex from 5.0.0 to 5.0.1 ( #562 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-26 14:24:14 +09:00
dependabot[bot]
b2630b1c8f
deps: bump minimist from 1.2.5 to 1.2.6 ( #572 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-26 14:10:02 +09:00
peaceiris
0401e3b43f
bump actions
2022-03-19 15:49:14 +09:00
dependabot[bot]
a41bdb53bd
ci: bump actions/checkout from 2.4.0 to 3 ( #565 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 11:40:05 +09:00
dependabot[bot]
550aee6c36
ci: bump actions/setup-node from 2.5.1 to 3.0.0 ( #557 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 13:59:51 +09:00
Shohei Ueda
ba23c24d3a
ci: Remove updating npm
2022-02-25 13:54:09 +09:00
xiaoping
333f75f372
Update README.md ( #555 )
2022-01-24 14:43:41 +09:00
dependabot[bot]
1575f408ae
ci: bump actions/setup-node from 2.5.0 to 2.5.1 ( #552 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-29 16:01:34 +09:00
peaceiris
3476bf7e65
Use hugo v0.91.2 for examples
2021-12-24 09:39:58 +09:00
dependabot[bot]
008429aaab
ci: bump actions/setup-node from 2.4.1 to 2.5.0 ( #551 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-30 12:50:44 +09:00
dependabot[bot]
86a3c300c7
ci: bump actions/checkout from 2.3.5 to 2.4.0 ( #548 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-03 16:19:33 +09:00
Shohei Ueda
6eea37b1f9
Bump actions/cache from v1 to v2
2021-10-22 09:30:46 +09:00
Shohei Ueda
21c525440c
Change trigger branch from main to master
...
The docsy template has the master branch
https://github.com/google/docsy-example
2021-10-20 14:30:57 +09:00
Shohei Ueda
7d37d3a39a
Disable Bug Report
2021-10-20 12:44:59 +09:00
dependabot[bot]
3bb386ec5a
ci: bump actions/checkout from 2.3.4 to 2.3.5 ( #546 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-18 11:12:24 +09:00
Shohei Ueda
a5a80db759
Bump doctoc from 2.0.0 to 2.1.0 ( #545 )
2021-10-14 13:01:48 +09:00
dependabot[bot]
cebd0015e0
ci: bump actions/setup-node from 2.4.0 to 2.4.1 ( #543 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 17:09:54 +09:00
dependabot[bot]
f93586ef6c
ci: bump codecov/codecov-action from 2.0.3 to 2.1.0 ( #542 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2.0.3...v2.1.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-15 18:15:01 +09:00
dependabot[bot]
b911fb4dcf
ci: bump codecov/codecov-action from 2.0.2 to 2.0.3 ( #540 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-25 11:22:43 +09:00
peaceiris
c91cecd7e1
Fix typo
2021-08-11 03:40:08 +09:00
peaceiris
4083be1363
deps: node 12.22.4
2021-08-11 03:39:20 +09:00
dependabot[bot]
57272db01c
ci: bump actions/setup-node from 2.3.2 to 2.4.0 ( #538 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v2.3.2...v2.4.0 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-06 19:24:55 +09:00
dependabot[bot]
239a50c280
ci: bump actions/setup-node from 2.3.0 to 2.3.2 ( #537 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 2.3.0 to 2.3.2.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v2.3.0...v2.3.2 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-05 18:10:20 +09:00
Shohei Ueda
5fa8f53e89
chore: Fix prettier ( #535 )
2021-07-26 15:32:36 +09:00
dependabot[bot]
54f7007102
ci: bump codecov/codecov-action from 2.0.1 to 2.0.2 ( #533 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2.0.1...v2.0.2 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-26 11:31:24 +09:00
dependabot[bot]
82ac7db7f2
ci: bump peaceiris/actions-label-commenter from 1.9.2 to 1.10.0 ( #532 )
...
Bumps [peaceiris/actions-label-commenter](https://github.com/peaceiris/actions-label-commenter ) from 1.9.2 to 1.10.0.
- [Release notes](https://github.com/peaceiris/actions-label-commenter/releases )
- [Changelog](https://github.com/peaceiris/actions-label-commenter/blob/main/CHANGELOG.md )
- [Commits](https://github.com/peaceiris/actions-label-commenter/compare/v1.9.2...v1.10.0 )
---
updated-dependencies:
- dependency-name: peaceiris/actions-label-commenter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-23 12:24:47 +09:00
dependabot[bot]
781702ee9d
ci: bump actions/setup-node from 2.2.0 to 2.3.0 ( #531 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v2.2.0...v2.3.0 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-21 11:41:58 +09:00