Skip to content

Commit ead536e

Browse files
committed
create releases again, try muslc for anylinux
1 parent f9100b1 commit ead536e

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# * uploads those artifacts to temporary workflow zip
1111
# * on success, uploads the artifacts to a GitHub Release
1212
#
13-
# Note that a GitHub Release with this tag is assumed to exist as a draft
14-
# with the appropriate title/body, and will be undrafted for you.
13+
# Note that the GitHub Release will be created with a generated
14+
# title/body based on your changelogs.
1515

1616
name: Release
1717
permissions:
@@ -265,12 +265,14 @@ jobs:
265265
- name: Create GitHub Release
266266
env:
267267
PRERELEASE_FLAG: "${{ fromJson(steps.host.outputs.manifest).announcement_is_prerelease && '--prerelease' || '' }}"
268+
ANNOUNCEMENT_TITLE: "${{ fromJson(steps.host.outputs.manifest).announcement_title }}"
269+
ANNOUNCEMENT_BODY: "${{ fromJson(steps.host.outputs.manifest).announcement_github_body }}"
268270
RELEASE_COMMIT: "${{ github.sha }}"
269271
run: |
270-
# If we're editing a release in place, we need to upload things ahead of time
271-
gh release upload "${{ needs.plan.outputs.tag }}" artifacts/*
272+
# Write and read notes from a file to avoid quoting breaking things
273+
echo "$ANNOUNCEMENT_BODY" > $RUNNER_TEMP/notes.txt
272274
273-
gh release edit "${{ needs.plan.outputs.tag }}" --target "$RELEASE_COMMIT" $PRERELEASE_FLAG --draft=false
275+
gh release create "${{ needs.plan.outputs.tag }}" --target "$RELEASE_COMMIT" $PRERELEASE_FLAG --title "$ANNOUNCEMENT_TITLE" --notes-file "$RUNNER_TEMP/notes.txt" artifacts/*
274276
275277
announce:
276278
needs:

dist-workspace.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ ci = "github"
1010
# The installers to generate for each app
1111
installers = ["shell"]
1212
# Target platforms to build apps for (Rust target-triple syntax)
13-
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu"]
13+
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-musl"]
1414
# Path that installers should place binaries in
1515
install-path = "CARGO_HOME"
1616
# Whether to install an updater program
1717
install-updater = false
1818
# Whether dist should create a Github Release or use an existing draft
19-
create-release = false
19+
create-release = true

0 commit comments

Comments
 (0)