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

ci: set up GoReleaser #208

Merged
merged 3 commits into from Oct 29, 2023
Merged

ci: set up GoReleaser #208

merged 3 commits into from Oct 29, 2023

Conversation

suzuki-shunsuke
Copy link
Contributor

@suzuki-shunsuke suzuki-shunsuke commented Oct 28, 2023

Close #207

Build and release prebuilt binaries automatically with GoReleaser by CI.

  • Configure GoReleaser
  • Set up GitHub Actions Workflow to run GoReleaser

I ran the workflow in my fork repository for testing, and confirmed it works well.

https://github.com/suzuki-shunsuke/mmark/releases/tag/v0.1.0-3
https://github.com/suzuki-shunsuke/mmark/actions/runs/6677329544/job/18147246647

mmark_0.1.0-3_checksums.txt
mmark_0.1.0-3_darwin_amd64.tgz
mmark_0.1.0-3_darwin_arm64.tgz
mmark_0.1.0-3_linux_amd64.tgz
mmark_0.1.0-3_linux_arm.tgz
mmark_0.1.0-3_linux_arm64.tgz
mmark_0.1.0-3_windows_amd64.tgz
$ tar ztvf mmark_0.1.0-3_darwin_amd64.tgz 
-rw-r--r--  0 runner docker   1362 10 28 22:56 LICENSE
-rw-r--r--  0 runner docker   4595 10 28 22:56 README.md
-rwxr-xr-x  0 runner docker 2978160 10 28 22:57 mmark

Asset names, supported platforms, and the structure of archives keep the compatibility with those of previous versions.

https://github.com/mmarkdown/mmark/releases/tag/v2.2.31

mmark_2.2.31_darwin_amd64.tgz
mmark_2.2.31_darwin_arm64.tgz
mmark_2.2.31_linux_amd64.tgz
mmark_2.2.31_linux_arm.tgz
mmark_2.2.31_linux_arm64.tgz
mmark_2.2.31_windows_amd64.tgz
$ tar ztvf mmark_2.2.31_darwin_amd64.tgz 
-rwxrwxr-x  0 miek   miek  4006960  2  8  2023 mmark

@suzuki-shunsuke suzuki-shunsuke marked this pull request as ready for review October 28, 2023 14:02
@suzuki-shunsuke
Copy link
Contributor Author

suzuki-shunsuke commented Oct 28, 2023

@miekg miekg merged commit 31d8ebe into mmarkdown:master Oct 29, 2023
1 check passed
@miekg
Copy link
Contributor

miekg commented Oct 29, 2023

thank you, works beautifully, just tagged a 2.2.40 release

@suzuki-shunsuke suzuki-shunsuke deleted the ci-goreleaser branch October 29, 2023 07:23
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.

Prebuilt binaries are missing
2 participants