Commit Graph

9 Commits

Author SHA1 Message Date
Kengo TODA
c61c6f59f3 feat: Default docker-compose version to latest (#643)
* test: add expected behavior as a test case

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* implement the necessary feature

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* add a missing return type

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* ci: try to run action without GITHUB_TOKEN env var

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* input version is not required

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* update the distributed package

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* fix eslint warning

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* provide GITHUB_TOKEN to create Octokit

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* docs: update README.md

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* docs: update README.md

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* docs: update README.md

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* docs: update README.md

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* update distributions

Signed-off-by: Kengo TODA <skypencil@gmail.com>

Signed-off-by: Kengo TODA <skypencil@gmail.com>
2022-12-25 13:58:23 +08:00
Sergeev Alexander
e1d8c7b2f9 fix: version prefix 'v' is missing for docker-compose v2
* System naming for docker-compose >= 2.0 fixed

As you might notice they started naming releases using not capitalized system name starting from `docker-compose` v2.0.0 ([ref](https://github.com/docker/compose/releases/tag/v2.0.0)).
This commit adds version check and fixes system name (returned by `uname -s`).

* Update src/install.ts

Co-authored-by: Kengo TODA <skypencil+github@gmail.com>

* Version

Naming for later versions updated

* Parsing instead of lexicographical order applied

* Update src/install.ts

Co-authored-by: Kengo TODA <skypencil+github@gmail.com>

* Tests for new release naming added

* Integration test for versions  > 2.0.0 added

* Version tag for releases >= 2.0.0 fixed

* Indentation restored

* js files compiled

* auto-appending 'v' added

Co-authored-by: Kengo TODA <skypencil+github@gmail.com>
2022-04-18 11:40:59 +08:00
Tibo Delor
ecd3566c81 fix: Add docker-compose to PATH (#274)
* Expose command as `docker-compose`

* Format and package
2021-09-01 10:29:50 +08:00
Kengo TODA
3268a385e5 chore: treat caught error as unknown 2021-08-29 06:39:28 +00:00
Kengo TODA
c65fe1d313 format: follow the latest eslint 2021-08-18 02:16:08 +00:00
Kengo TODA
0cc2e1f005 feat: throw error if the platform is not linux 2020-08-28 19:41:36 +08:00
Kengo TODA
7da80b7ba5 fix: wrong input name 2020-08-27 20:44:26 +08:00
Kengo TODA
367ba4923b feat: implement basic feature working for Linux only 2020-08-27 20:39:35 +08:00
Kengo TODA
580c29732a Initial commit 2020-08-27 11:53:14 +08:00