Skip to content

Add workflow for v0.3.x pre-releases - #3356

Merged
aluzzardi merged 7 commits into
dagger:mainfrom
gerhard:add-workflow-for-0.3-pre-releases
Oct 14, 2022
Merged

aluzzardi merged 7 commits into
dagger:mainfrom
gerhard:add-workflow-for-0.3-pre-releases

Conversation

@gerhard

@gerhard gerhard commented Oct 13, 2022 •

Copy link
Copy Markdown
Contributor

This is the beginning of v0.3.x release automation. We start by producing pre-releases (a.k.a. technical preview releases), specifically v0.3.0-alpha.N.

I have setup a parallel AWS S3 & GitHub & Homebrew tap to test how this works together. This is the successful run that produced an unofficial v0.3.0-alpha.1 release in this parallel stack: https://github.com/gerhard/dagger/actions/runs/3244062096

This is what we end up with in AWS S3:

image

Here is the unofficial GitHub pre-release: https://github.com/gerhard/dagger/releases/tag/v0.3.0-alpha.1

image

The unofficial Homebrew tap is here: https://github.com/gerhard/homebrew-tap/blob/main/dagger%400.3.rb

image

This is what happened when I installed it via brew install gerhard/tap/[email protected]:

image

Notice that the alpha binary is available via /usr/local/Cellar/[email protected]/0.3.0-alpha.1/bin/dagger.

What happens next?

After we merge this, we should do it for real and produce an official v0.3.0-alpha.1 release.

Open Questions:

  1. Do we want to add examples to the release?
    image

Part of #3283

Gerhard Lazu added 6 commits October 13, 2022 15:15
It's currently set to create pre-releases.

Signed-off-by: Gerhard Lazu <[email protected]>
Based on `main` with:
+ two changes to appease the GoReleaser YAML schema
+ GitHub pre-release config
+ HomeBrew alternative formula file: [email protected]

Signed-off-by: Gerhard Lazu <[email protected]>
Test in the PR phase, before merging.

Revert when done.

Signed-off-by: Gerhard Lazu <[email protected]>
It will make the merge smoother

Signed-off-by: Gerhard Lazu <[email protected]>
This can be reverted if we need to continue testing it on a fork.
The last successful run before this change can be found here:
https://github.com/gerhard/dagger/actions/runs/3244062096

Signed-off-by: Gerhard Lazu <[email protected]>
@gerhard
gerhard requested a review from aluzzardi October 13, 2022 17:42
@gerhard gerhard mentioned this pull request Oct 13, 2022
12 of 19 tasks
@aluzzardi
aluzzardi changed the base branch from cloak to main October 14, 2022 18:24
We do not want to update these files for pre-releases.

Uncomment when we are finished publishing pre-releases.

Signed-off-by: Gerhard Lazu <[email protected]>
@aluzzardi
aluzzardi merged commit a8b6f94 into dagger:main Oct 14, 2022
@gerhard
gerhard deleted the add-workflow-for-0.3-pre-releases branch October 19, 2022 14:45
gerhard pushed a commit that referenced this pull request Oct 24, 2022
Next step: check that everything works as expected on the fork.

Partial follow-up to #3356

Part of #3471

Supersedes #3483

Signed-off-by: Gerhard Lazu <[email protected]>
@gerhard gerhard mentioned this pull request Oct 24, 2022
5 tasks done
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.

2 participants