Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Fix usage of archive replacements #586

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

eapolinario
Copy link
Contributor

@eapolinario eapolinario commented Jul 5, 2023

TL;DR

Produce archives using the recommended alternative for archives.replacements

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

archives.replacements was deprecated and removed in the latest goreleaser version as per https://goreleaser.com/deprecations/#archivesreplacements. This PR follows the recommendation to use name_template to get the same effect.

I removed the unused {{ .Arm }} block also.

Tracking Issue

Remove the 'fixes' keyword if there will be multiple PRs to fix the linked issue

fixes https://github.com/flyteorg/flyte/issues/

Follow-up issue

NA
OR
https://github.com/flyteorg/flyte/issues/

Signed-off-by: eduardo apolinario <[email protected]>
@eapolinario eapolinario enabled auto-merge (squash) July 5, 2023 18:44
@codecov
Copy link

codecov bot commented Jul 5, 2023

Codecov Report

Merging #586 (ca6bcfa) into master (357bf09) will increase coverage by 0.43%.
The diff coverage is n/a.

❗ Current head ca6bcfa differs from pull request most recent head e4b813f. Consider uploading reports for the commit e4b813f to get more accurate results

@eapolinario eapolinario merged commit 206013a into master Jul 5, 2023
@eapolinario eapolinario deleted the fix-replacements-in-goreleaser branch July 5, 2023 22:33
eapolinario added a commit to eapolinario/flytepropeller that referenced this pull request Aug 9, 2023
Signed-off-by: eduardo apolinario <[email protected]>
Co-authored-by: eduardo apolinario <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants