[FEAT] Use `composer.lock` to find installed Magento version in `store` mode of `get-magento-version`

Đang mở
#129 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
github-actions, typescript
Lĩnh vực
ci-cd

Hướng nghiên cứu

The issue asks the get-magento-version action, in store mode, to read the installed Magento version from composer.lock before falling back to composer.json. Start by finding the TypeScript source of that action and the code path that reads composer.json for the version, and check #126, which the issue cites as the use case. Done means the lock file is preferred when present, with composer.json as the fallback, and the existing behaviour is still covered by tests.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

hacktoberfest

💡 Feature request

Feature Name

Get Locked versions

The Desired Behavior

In get-magento-version we attempt to compute the version of Magento installed. Right now, we attempt to find the version in the composer.json. We should instead prefer the lock file.

Your Use Case

#126

Ngôn ngữ chính
TypeScript
Star
12
Fork
15
Merge trung bình
3 ngày 15 giờ
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mage-os/github-actions

Tất cả issue của mage-os/github-actions

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.