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

Add artifactBundle to release process #1150

Closed
utahwithak opened this issue Mar 2, 2023 · 4 comments · Fixed by #1155
Closed

Add artifactBundle to release process #1150

utahwithak opened this issue Mar 2, 2023 · 4 comments · Fixed by #1155

Comments

@utahwithak
Copy link

It would be nice to have a artifactBundle zip be vended as part of the release. For me this would be specifically for usage in swift package manager. It could then be pulled down directly as a binary target and used directly from plugins without pulling in packages or dependencies.

It would be nice to have this option available for dependency collisions as well.

Technically I'm not entirely sure what this means. I am able to do this with SwiftLint by doing this:

        .binaryTarget(
            name: "SwiftLintBinary",
            url: "https://github.com/realm/SwiftLint/releases/download/0.50.3/SwiftLintBinary-macos.artifactbundle.zip",
            checksum: "abe7c0bb505d26c232b565c3b1b4a01a8d1a38d86846e788c4d02f0b1042a904"
        ),

Attempting to do the same with the 2.0.1 release results in an error about unknown extension of docset, which seems like it is just not picking up the right thing. Inspecting the SwiftLint zip it appears to have a single folder of the release name followed with the bin folder and binary

@InkyTsar
Copy link
Contributor

Sourcery-2.0.1.artifactbundle.zip
Until it is fixed, I'm attaching self-made artifactbundle for my own needs :)

@markst
Copy link
Contributor

markst commented May 15, 2023

+1

@markst
Copy link
Contributor

markst commented May 15, 2023

@anytypeio not sure if this helps you too

@erichoracek
Copy link
Collaborator

erichoracek commented Jul 17, 2023

I uploaded an artifactbundle for the latest release here by downloading Sourcery-2.0.2.zip, extracting the binary, and then running the rake release:artifactbundle from #1155! Hope that helps folks that need an artifact bundle for the latest release

EDIT: Had to make one small fix to the artifactbundle generation logic in #1182, the artifactbundle included on 2.0.2 should be up to date now

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 a pull request may close this issue.

4 participants