Skip to content

Archive plugin supports Amazon Linux 2023 in addition to Amazon Linux 2#646

Merged
sebsto merged 1 commit intomainfrom
fix/645
Feb 18, 2026
Merged

Archive plugin supports Amazon Linux 2023 in addition to Amazon Linux 2#646
sebsto merged 1 commit intomainfrom
fix/645

Conversation

@sebsto
Copy link
Collaborator

@sebsto sebsto commented Feb 18, 2026

Relax the check on Amazon Linux to also consider Amazon Linux 2023 and future versions

Fix #645

@sebsto sebsto self-assigned this Feb 18, 2026
@sebsto sebsto added the 🆕 semver/minor Adds new public API. label Feb 18, 2026
@sebsto sebsto requested a review from Copilot February 18, 2026 14:12
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Amazon Linux version detection logic to support Amazon Linux 2023 and future versions in addition to Amazon Linux 2. The change relaxes the version-specific check to accept any Amazon Linux distribution, enabling the plugin to work with newer Amazon Linux releases.

Changes:

  • Renamed isAmazonLinux2() method to isAmazonLinux() to reflect broader OS support
  • Updated OS detection logic to check for "Amazon Linux" prefix instead of specifically "Amazon Linux release 2"

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sebsto sebsto requested a review from 0xTim February 18, 2026 14:16
@sebsto sebsto merged commit 22dd701 into main Feb 18, 2026
56 of 57 checks passed
@sebsto sebsto deleted the fix/645 branch February 18, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🆕 semver/minor Adds new public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build Plugin Only Supports AL2

2 participants

Comments