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

fix(ci): release builds #2219

Merged
merged 50 commits into from
Apr 29, 2024
Merged

fix(ci): release builds #2219

merged 50 commits into from
Apr 29, 2024

Conversation

Arqu
Copy link
Collaborator

@Arqu Arqu commented Apr 22, 2024

Description

Runs the usual release flow, but now also creates a draft release and attaches all binaries to it.

Also closes: #2232

Sample: https://github.com/n0-computer/iroh/releases/tag/untagged-b36c22bc1e19cbd75396

Breaking Changes

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates if relevant.
  • Tests if relevant.
  • All breaking changes documented.

@Arqu Arqu self-assigned this Apr 22, 2024
@dignifiedquire dignifiedquire added this to the v0.15.0 milestone Apr 22, 2024
@Arqu Arqu force-pushed the arqu/release_windows branch from 0112eb4 to 77e5a4e Compare April 25, 2024 19:56
@Arqu Arqu requested review from flub and dignifiedquire April 29, 2024 10:00
@Arqu Arqu enabled auto-merge April 29, 2024 10:05
@Arqu Arqu added this pull request to the merge queue Apr 29, 2024
@@ -30,6 +30,7 @@ env:
MSRV: "1.75"
SCCACHE_CACHE_SIZE: "50G"
BIN_NAMES: "iroh,iroh-relay,iroh-dns-server"
RELEASE_VERSION: ${{ github.event.inputs.release_version }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Given you have a whole script a little lower to set this in several ways I assume this is a leftover of an earlier version and should be removed?

Comment on lines +156 to +159

- name: build release
if: matrix.os == 'windows-latest'
run: cargo build --profile optimized-release --all-features --target ${{ matrix.cargo_targets }}
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't get why windows gets its own section here, the cargo command is exactly the same as the unix version above?

Add-Content -Path $env:GITHUB_ENV -Value "ASSET=$ASSETS"

- uses: n0-computer/actions-upload-release-asset@main
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm in general a bit careful about using actions from a branch rather than a tag, which can still be moving like .e.g. v1. But the repo doesn't seem to have any tags.

Merged via the queue into main with commit ba7317d Apr 29, 2024
21 checks passed
@Arqu Arqu deleted the arqu/release_windows branch April 29, 2024 10:31
matheus23 pushed a commit that referenced this pull request Nov 14, 2024
## Description

Runs the usual release flow, but now also creates a draft release and
attaches all binaries to it.

Also closes: #2232

Sample:
https://github.com/n0-computer/iroh/releases/tag/untagged-b36c22bc1e19cbd75396

## Breaking Changes

<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the PR.
-->

## Change checklist

- [ ] Self-review.
- [ ] Documentation updates if relevant.
- [ ] Tests if relevant.
- [ ] All breaking changes documented.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Repeating release messages for the same tag/commit v0.14.1-test/3a74d89
3 participants