diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e8af520ce1..0864213ba72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -431,6 +431,8 @@ jobs: pkg-pr-new: needs: - build-compiler + outputs: + commit_sha: ${{ steps.publish.outputs.sha }} runs-on: ubuntu-24.04-arm steps: - name: Checkout @@ -457,6 +459,7 @@ jobs: git diff --exit-code packages/artifacts.json - name: Publish packages to pkg.pr.new + id: publish run: | yarn dlx pkg-pr-new publish "." "./packages/@rescript/*" @@ -558,9 +561,9 @@ jobs: - name: Install ReScript package run: | - COMMIT_SHA="${{ github.event.pull_request.head.sha || github.sha }}" + COMMIT_SHA="${{ needs.pkg-pr-new.outputs.commit_sha }}" npm i --no-audit \ - "https://pkg.pr.new/rescript-lang/rescript@${COMMIT_SHA::7}" + "https://pkg.pr.new/rescript-lang/rescript@${COMMIT_SHA}" shell: bash working-directory: ${{ steps.tmp-dir.outputs.path }} @@ -612,8 +615,8 @@ jobs: - name: Install ReScript package run: | - COMMIT_SHA="${{ github.event.pull_request.head.sha || github.sha }}" - pnpm i "https://pkg.pr.new/rescript-lang/rescript@${COMMIT_SHA::7}" + COMMIT_SHA="${{ needs.pkg-pr-new.outputs.commit_sha }}" + pnpm i "https://pkg.pr.new/rescript-lang/rescript@${COMMIT_SHA}" shell: bash working-directory: ${{ steps.tmp-dir.outputs.path }} @@ -647,8 +650,8 @@ jobs: - name: Install ReScript package in rewatch/testrepo run: | - COMMIT_SHA="${{ github.event.pull_request.head.sha || github.sha }}" - yarn add "rescript@https://pkg.pr.new/rescript-lang/rescript@${COMMIT_SHA::7}" + COMMIT_SHA="${{ needs.pkg-pr-new.outputs.commit_sha }}" + yarn add "rescript@https://pkg.pr.new/rescript-lang/rescript@${COMMIT_SHA}" shell: bash working-directory: rewatch/testrepo diff --git a/CHANGELOG.md b/CHANGELOG.md index 87bc7983482..144e7c01cb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,28 +10,20 @@ > - :nail_care: [Polish] > - :house: [Internal] -# 13.0.0-alpha.2 (Unreleased) - -#### :boom: Breaking Change - -#### :eyeglasses: Spec Compliance - -#### :rocket: New Feature +# 13.0.0-alpha.2 #### :bug: Bug fix - Fix compiler crash (`Fatal error: Parmatch.all_record_args`) when matching empty dict/record patterns. https://github.com/rescript-lang/rescript/pull/8246 - Fix `null` falling into the object branch instead of the wildcard when pattern matching on untagged variants with both `Object` and `null` cases. https://github.com/rescript-lang/rescript/pull/8253 -#### :memo: Documentation - #### :nail_care: Polish - Build system: Watch only source folders from build state instead of the entire project directory, and report missing configured source folders. https://github.com/rescript-lang/rescript/pull/8219 #### :house: Internal -- speed up dev container test by installing ocaml in docker image instead of in `postCreate.sh`. https://github.com/rescript-lang/rescript/pull/8230 +- Speed up dev container test by installing OCaml in docker image instead of in `postCreate.sh`. https://github.com/rescript-lang/rescript/pull/8230 # 13.0.0-alpha.1