Skip to content

add version check to sopsinstall#40

Merged
onyxraven merged 1 commit intomasterfrom
bug/fix_sops_3.5_download
Dec 30, 2019
Merged

add version check to sopsinstall#40
onyxraven merged 1 commit intomasterfrom
bug/fix_sops_3.5_download

Conversation

@onyxraven
Copy link
Member

Background

SOPS upstream changed their executable naming in v3.5.0. We were relying on a specific format (sops-${VERSION}.${OS}) which changed to include a 'v' prefix (sops-v${VERSION}.${OS}).

This PR adds code to the downloader to check the version number in a relatively safe way, and if it is 3.5.0 or higher, it will use the v prefix.

Versioning

None necessary, this is a utility addon not related to the binary.

Tasks

  • [N/A] Specs written
  • Manual testing

@onyxraven onyxraven added the bug Something isn't working label Dec 30, 2019
@onyxraven onyxraven requested a review from blimmer as a code owner December 30, 2019 20:38
@onyxraven onyxraven self-assigned this Dec 30, 2019
@onyxraven onyxraven merged commit 59fb548 into master Dec 30, 2019
@onyxraven onyxraven deleted the bug/fix_sops_3.5_download branch December 30, 2019 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant