From 3401f58257f99cf9b5dabb5f147eca8de2ed754f Mon Sep 17 00:00:00 2001 From: Kyle Hayes Date: Fri, 8 May 2026 09:58:37 -0700 Subject: [PATCH 1/3] Fix release and version YAML. They were not triggered correctly. --- .github/workflows/release.yml | 17 ++++++++++------- .github/workflows/update-version-readme.yml | 8 ++++---- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 905d7bb..217edd8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,5 @@ name: Release -true: +on: workflow_run: workflows: - CI @@ -11,11 +11,13 @@ permissions: jobs: check-and-release: runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.head_branch == 'release' && github.event.workflow_run.conclusion + if: + ${{ github.event.workflow_run.head_branch == 'release' && github.event.workflow_run.conclusion == 'success' }} steps: - name: Log trigger information - run: 'echo "Triggered by workflow: ${{ github.event.workflow_run.name }}" + run: + 'echo "Triggered by workflow: ${{ github.event.workflow_run.name }}" echo "Workflow status: ${{ github.event.workflow_run.conclusion }}" @@ -41,7 +43,8 @@ jobs: id: release_details uses: actions/github-script@v7 with: - script: "const commit_sha = \"${{ github.event.workflow_run.head_sha }}\"\ + script: + "const commit_sha = \"${{ github.event.workflow_run.head_sha }}\"\ ;\nconst { owner, repo } = context.repo;\n\n// Try to find a PR associated\ \ with this commit\nconst prs = await github.rest.repos.listPullRequestsAssociatedWithCommit({\n\ \ owner,\n repo,\n commit_sha,\n});\n\nlet title = \"\";\nlet body\ @@ -58,7 +61,7 @@ jobs: with: tag_name: v${{ env.VERSION }} name: Release v${{ env.VERSION }} - body: '## ${{ steps.release_details.outputs.title }} + body: "## ${{ steps.release_details.outputs.title }} ${{ steps.release_details.outputs.body }} @@ -69,10 +72,10 @@ jobs: You can find the compilation artifact downloads for all required platforms in the respective CI action execution artifacts. - ' + " target_commitish: ${{ github.event.workflow_run.head_sha }} generate_release_notes: false draft: false prerelease: false env: - FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" diff --git a/.github/workflows/update-version-readme.yml b/.github/workflows/update-version-readme.yml index a85eb37..341bee9 100644 --- a/.github/workflows/update-version-readme.yml +++ b/.github/workflows/update-version-readme.yml @@ -1,5 +1,5 @@ name: Update README and Bump Patch Version -true: +on: release: types: - published @@ -47,11 +47,11 @@ jobs: ref: prerelease fetch-depth: 0 - name: Increment patch version on prerelease - run: 'chmod +x scripts/increment_version.sh + run: "chmod +x scripts/increment_version.sh scripts/increment_version.sh patch - ' + " - name: Commit version bump to prerelease run: 'git config user.name "GitHub Actions" @@ -67,4 +67,4 @@ jobs: ' env: - FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" From 23e2251ae3f86355eccb3a28d99798d7090e4801 Mon Sep 17 00:00:00 2001 From: Kyle Hayes Date: Fri, 8 May 2026 10:30:05 -0700 Subject: [PATCH 2/3] Badge creation was not quite working. --- .github/workflows/ci.yml | 52 ++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 547d2c3..ffc9c10 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -583,7 +583,7 @@ jobs: - name: Generate badge for x86_64-pc-windows-msvc run: "if [ \"${{ needs.x86_64-pc-windows-msvc.result }}\" == \"success\" ];\ \ then\n COLOR=\"brightgreen\"\n TEXT=\"passing\"\nelse\n COLOR=\"red\"\ - \n TEXT=\"failing\"\nfi\ncat > status/x86_64-pc-windows-msvc.svg << 'SVGEOF'\n\ + \n TEXT=\"failing\"\nfi\ncat > status/x86_64-pc-windows-msvc.svg << SVGEOF\n\ \n\ \ \n \n status/s390x-ibm-linux-gnu.svg << 'SVGEOF'\n status/s390x-ibm-linux-gnu.svg << SVGEOF\n\n \n \n \n\ @@ -613,7 +613,7 @@ jobs: - name: Generate badge for s390x-musl-linux run: "if [ \"${{ needs.s390x-musl-linux.result }}\" == \"success\" ]; then\n\ \ COLOR=\"brightgreen\"\n TEXT=\"passing\"\nelse\n COLOR=\"red\"\n TEXT=\"\ - failing\"\nfi\ncat > status/s390x-musl-linux.svg << 'SVGEOF'\n status/s390x-musl-linux.svg << SVGEOF\n\n \n \n \n\ @@ -628,7 +628,7 @@ jobs: - name: Generate badge for x86_64-alpine-linux run: "if [ \"${{ needs.x86_64-alpine-linux.result }}\" == \"success\" ]; then\n\ \ COLOR=\"brightgreen\"\n TEXT=\"passing\"\nelse\n COLOR=\"red\"\n TEXT=\"\ - failing\"\nfi\ncat > status/x86_64-alpine-linux.svg << 'SVGEOF'\n status/x86_64-alpine-linux.svg << SVGEOF\n\n \n \n \n\ @@ -643,7 +643,7 @@ jobs: - name: Generate badge for riscv64-musl-linux run: "if [ \"${{ needs.riscv64-musl-linux.result }}\" == \"success\" ]; then\n\ \ COLOR=\"brightgreen\"\n TEXT=\"passing\"\nelse\n COLOR=\"red\"\n TEXT=\"\ - failing\"\nfi\ncat > status/riscv64-musl-linux.svg << 'SVGEOF'\n status/riscv64-musl-linux.svg << SVGEOF\n\n \n \n \n\ @@ -658,7 +658,7 @@ jobs: - name: Generate badge for aarch64-pc-windows-gnu run: "if [ \"${{ needs.aarch64-pc-windows-gnu.result }}\" == \"success\" ];\ \ then\n COLOR=\"brightgreen\"\n TEXT=\"passing\"\nelse\n COLOR=\"red\"\ - \n TEXT=\"failing\"\nfi\ncat > status/aarch64-pc-windows-gnu.svg << 'SVGEOF'\n\ + \n TEXT=\"failing\"\nfi\ncat > status/aarch64-pc-windows-gnu.svg << SVGEOF\n\ \n\ \ \n \n status/aarch64-pc-windows-msvc.svg\ - \ << 'SVGEOF'\n\n \n \n \n \n \n status/i386-unknown-linux-gnu.svg << 'SVGEOF'\n\ + \n TEXT=\"failing\"\nfi\ncat > status/i386-unknown-linux-gnu.svg << SVGEOF\n\ \n\ \ \n \n status/x86_64-pc-windows-gnu.svg << 'SVGEOF'\n\ + \n TEXT=\"failing\"\nfi\ncat > status/x86_64-pc-windows-gnu.svg << SVGEOF\n\ \n\ \ \n \n status/ppc64le-musl-linux.svg << 'SVGEOF'\n status/ppc64le-musl-linux.svg << SVGEOF\n\n \n \n \n\ @@ -733,7 +733,7 @@ jobs: - name: Generate badge for aarch64-pc-linux-gnu run: "if [ \"${{ needs.aarch64-pc-linux-gnu.result }}\" == \"success\" ];\ \ then\n COLOR=\"brightgreen\"\n TEXT=\"passing\"\nelse\n COLOR=\"red\"\ - \n TEXT=\"failing\"\nfi\ncat > status/aarch64-pc-linux-gnu.svg << 'SVGEOF'\n\ + \n TEXT=\"failing\"\nfi\ncat > status/aarch64-pc-linux-gnu.svg << SVGEOF\n\ \n\ \ \n \n status/powerpc64le-unknown-linux-gnu.svg\ - \ << 'SVGEOF'\n\n \n \n \n \n \n status/aarch64-apple-ios.svg << 'SVGEOF'\n status/aarch64-apple-ios.svg << SVGEOF\n\n \n \n \n\ @@ -778,7 +778,7 @@ jobs: - name: Generate badge for aarch64-apple-darwin run: "if [ \"${{ needs.aarch64-apple-darwin.result }}\" == \"success\" ];\ \ then\n COLOR=\"brightgreen\"\n TEXT=\"passing\"\nelse\n COLOR=\"red\"\ - \n TEXT=\"failing\"\nfi\ncat > status/aarch64-apple-darwin.svg << 'SVGEOF'\n\ + \n TEXT=\"failing\"\nfi\ncat > status/aarch64-apple-darwin.svg << SVGEOF\n\ \n\ \ \n \n status/x86_64-apple-darwin.svg << 'SVGEOF'\n status/x86_64-apple-darwin.svg << SVGEOF\n\n \n \n \n\ @@ -809,7 +809,7 @@ jobs: run: "if [ \"${{ needs.x86_64-unknown-linux-android.result }}\" == \"success\"\ \ ]; then\n COLOR=\"brightgreen\"\n TEXT=\"passing\"\nelse\n COLOR=\"\ red\"\n TEXT=\"failing\"\nfi\ncat > status/x86_64-unknown-linux-android.svg\ - \ << 'SVGEOF'\n\n \n \n \n \n \n status/x86_64-pc-linux-gnu.svg << 'SVGEOF'\n status/x86_64-pc-linux-gnu.svg << SVGEOF\n\n \n \n \n\ @@ -839,7 +839,7 @@ jobs: run: "if [ \"${{ needs.powerpc-unknown-linux-gnu.result }}\" == \"success\"\ \ ]; then\n COLOR=\"brightgreen\"\n TEXT=\"passing\"\nelse\n COLOR=\"\ red\"\n TEXT=\"failing\"\nfi\ncat > status/powerpc-unknown-linux-gnu.svg\ - \ << 'SVGEOF'\n\n \n \n \n \n \n status/riscv64-unknown-linux-gnu.svg\ - \ << 'SVGEOF'\n\n \n \n \n \n \n status/sparc64-unknown-linux-gnu.svg\ - \ << 'SVGEOF'\n\n \n \n \n \n \n status/aarch64-alpine-linux.svg << 'SVGEOF'\n\ + \n TEXT=\"failing\"\nfi\ncat > status/aarch64-alpine-linux.svg << SVGEOF\n\ \n\ \ \n \n status/i386-alpine-linux.svg << 'SVGEOF'\n status/i386-alpine-linux.svg << SVGEOF\n\n \n \n \n\ @@ -913,7 +913,7 @@ jobs: - name: Generate badge for armv7-musl-linux run: "if [ \"${{ needs.armv7-musl-linux.result }}\" == \"success\" ]; then\n\ \ COLOR=\"brightgreen\"\n TEXT=\"passing\"\nelse\n COLOR=\"red\"\n TEXT=\"\ - failing\"\nfi\ncat > status/armv7-musl-linux.svg << 'SVGEOF'\n status/armv7-musl-linux.svg << SVGEOF\n\n \n \n \n\ @@ -929,7 +929,7 @@ jobs: run: "if [ \"${{ needs.mips64el-unknown-linux-gnuabi64.result }}\" == \"success\"\ \ ]; then\n COLOR=\"brightgreen\"\n TEXT=\"passing\"\nelse\n COLOR=\"\ red\"\n TEXT=\"failing\"\nfi\ncat > status/mips64el-unknown-linux-gnuabi64.svg\ - \ << 'SVGEOF'\n\n \n \n \n \n \n status/arm-unknown-linux-gnueabihf.svg\ - \ << 'SVGEOF'\n\n \n \n \n \n \n status/mipsel-unknown-linux-gnu.svg\ - \ << 'SVGEOF'\n\n \n \n \n \n \n Date: Fri, 8 May 2026 11:16:40 -0700 Subject: [PATCH 3/3] Update version to drive new release. --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index bcaffe1..7deb86f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.7.0 \ No newline at end of file +0.7.1 \ No newline at end of file