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

refactor(release): remove unused scripts and include arm64 hashsums in the sha256sum file #338

Merged
merged 4 commits into from
Apr 12, 2022

Conversation

rikez
Copy link
Contributor

@rikez rikez commented Apr 11, 2022

Changes

  • The release now uses a github actions module, so there's no reason to maintain unused commands in the Makefile.
  • Package Cloud was deprecated, we will only be supporting Github releases, therefore there's no reason to maintain unused installation and commands in the Makefile
  • Fixes sha256su file creation by adding missing arm64 binaries hashsums.

Copy link
Contributor

@asaf-erlich asaf-erlich left a comment

Choose a reason for hiding this comment

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

Love to see deleted code, simplicity is beautiful, thank you for doing this

@@ -154,7 +25,7 @@ publish-dockerhub:

dist: dist/chamber-$(VERSION)-darwin-amd64 dist/chamber-$(VERSION)-darwin-arm64 dist/chamber-$(VERSION)-linux-amd64 dist/chamber-$(VERSION)-linux-arm64 dist/chamber-$(VERSION)-windows-amd64.exe dist/chamber_$(VERSION)_amd64.deb dist/chamber_$(VERSION)_amd64.rpm dist/chamber-$(VERSION).sha256sums

dist/chamber-$(VERSION).sha256sums: dist/chamber-$(VERSION)-darwin-amd64 dist/chamber-$(VERSION)-linux-amd64 dist/chamber-$(VERSION)-windows-amd64.exe dist/chamber_$(VERSION)_amd64.deb dist/chamber_$(VERSION)_amd64.rpm
dist/chamber-$(VERSION).sha256sums: dist/chamber-$(VERSION)-darwin-amd64 dist/chamber-$(VERSION)-darwin-arm64 dist/chamber-$(VERSION)-linux-amd64 dist/chamber-$(VERSION)-linux-arm64 dist/chamber-$(VERSION)-windows-amd64.exe dist/chamber_$(VERSION)_amd64.deb dist/chamber_$(VERSION)_amd64.rpm
Copy link
Contributor

@sindhusegment sindhusegment Apr 12, 2022

Choose a reason for hiding this comment

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

so this step won't be called since we're removing L33 publish-github + L115 publish-github-sha256sums. Do we need to call it some other way in another github actions step?

Copy link
Contributor

@sindhusegment sindhusegment Apr 12, 2022

Choose a reason for hiding this comment

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

Oh! nevermind, it's being called from dist. But it's weird how it's also being called when publish-github runs

Copy link
Contributor

@sindhusegment sindhusegment left a comment

Choose a reason for hiding this comment

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

Looks good!

@rikez rikez merged commit 5000085 into master Apr 12, 2022
@rikez rikez deleted the ealvarenga/DEVEX-96/release-cleanup branch April 12, 2022 15:35
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

3 participants