Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address deprecated goreleaser configuration #98

Merged
merged 3 commits into from Sep 27, 2023
Merged

Conversation

dlaguerta
Copy link
Contributor

@dlaguerta dlaguerta commented Sep 26, 2023

  • update go-releaser in ci
  • remove deprecated bits from goreleaser config

🛠️ Description

recent updates from goreleaser made parts of our .goreleaser.yaml invalid. These changes address the deprecations found in https://goreleaser.com/deprecations/#brewstap, and will get our build and release pipeline back to green.

🔗 External Links

👍 Definition of Done

  • New functionality works?
  • Tests added?

🤔 Can be merged upon approval?

@dlaguerta dlaguerta requested review from a team, modrake and claire-labry and removed request for a team September 26, 2023 23:12
@dlaguerta dlaguerta merged commit 609843e into main Sep 27, 2023
5 checks passed
@dlaguerta dlaguerta deleted the goreleaser-valid branch September 27, 2023 17:46
dekimsey added a commit that referenced this pull request Sep 28, 2023
actions/setup-copywrite relies on the [specific name](https://github.com/hashicorp/setup-copywrite/blob/main/action.js#L65)
format. Note: the `s/amd64/x86_64/g` behavior is a historical artifact, we
could update it in the future if we coordinate with the action.

Error:

```
Run hashicorp/setup-copywrite@867a1a2
Error: Unable to find asset matching copywrite_0.16.5_linux_x86_64.tar.gz in the v0.16.5 release
```

After this change:
```
  • archives
    • creating                                       archive=dist/copywrite_0.16.5-SNAPSHOT-52379d7_windows_x86_64.zip
    • creating                                       archive=dist/copywrite_0.16.5-SNAPSHOT-52379d7_linux_x86_64.tar.gz
    • creating                                       archive=dist/copywrite_0.16.5-SNAPSHOT-52379d7_darwin_x86_64.tar.gz
    • creating                                       archive=dist/copywrite_0.16.5-SNAPSHOT-52379d7_darwin_arm64.tar.gz
    • creating                                       archive=dist/copywrite_0.16.5-SNAPSHOT-52379d7_linux_arm64.tar.gz
    • creating                                       archive=dist/copywrite_0.16.5-SNAPSHOT-52379d7_windows_arm64.zip
```

Partial revert of changes made in PR #98

nit: Also adding `dist/` to our ignores
dekimsey added a commit that referenced this pull request Sep 28, 2023
actions/setup-copywrite relies on the [specific name](https://github.com/hashicorp/setup-copywrite/blob/main/action.js#L65)
format. Note: the `s/amd64/x86_64/g` behavior is a historical artifact, we
could update it in the future if we coordinate with the action.

Error:

```
Run hashicorp/setup-copywrite@867a1a2
Error: Unable to find asset matching copywrite_0.16.5_linux_x86_64.tar.gz in the v0.16.5 release
```

After this change:
```
  • archives
    • creating                                       archive=dist/copywrite_0.16.5-SNAPSHOT-52379d7_windows_x86_64.zip
    • creating                                       archive=dist/copywrite_0.16.5-SNAPSHOT-52379d7_linux_x86_64.tar.gz
    • creating                                       archive=dist/copywrite_0.16.5-SNAPSHOT-52379d7_darwin_x86_64.tar.gz
    • creating                                       archive=dist/copywrite_0.16.5-SNAPSHOT-52379d7_darwin_arm64.tar.gz
    • creating                                       archive=dist/copywrite_0.16.5-SNAPSHOT-52379d7_linux_arm64.tar.gz
    • creating                                       archive=dist/copywrite_0.16.5-SNAPSHOT-52379d7_windows_arm64.zip
```

Partial revert of changes made in PR #98

nit: Also adding `dist/` to our ignores
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant