From 8f17cdfdcade8a4fd3ae54450517a57ba3313f61 Mon Sep 17 00:00:00 2001 From: Tom French <15848336+TomAFrench@users.noreply.github.com> Date: Wed, 4 Dec 2024 17:45:05 +0000 Subject: [PATCH 1/3] chore: add release-please (#16) Release-as: v0.1.0 --- .github/workflows/pull-request-title.yml | 30 ++++++++++++++++++++++++ .github/workflows/release.yml | 21 +++++++++++++++++ .release-please-manifest.json | 1 + release-please-config.json | 16 +++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 .github/workflows/pull-request-title.yml create mode 100644 .github/workflows/release.yml create mode 100644 .release-please-manifest.json create mode 100644 release-please-config.json diff --git a/.github/workflows/pull-request-title.yml b/.github/workflows/pull-request-title.yml new file mode 100644 index 0000000..901d76a --- /dev/null +++ b/.github/workflows/pull-request-title.yml @@ -0,0 +1,30 @@ +name: Pull Request + +on: + merge_group: + pull_request_target: + types: + - opened + - reopened + - edited + - synchronize + +permissions: + pull-requests: read + +jobs: + conventional-title: + name: Validate PR title is Conventional Commit + runs-on: ubuntu-latest + steps: + - name: Check title + if: github.event_name == 'pull_request_target' + uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + types: | + fix + feat + chore + \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..0e24c81 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,21 @@ +name: Release + +on: + push: + branches: + - main + +jobs: + release-please: + name: Create Release + outputs: + release-pr: ${{ steps.release.outputs.pr }} + tag-name: ${{ steps.release.outputs.tag_name }} + runs-on: ubuntu-latest + steps: + - name: Run release-please + id: release + uses: google-github-actions/release-please-action@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} + command: manifest diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..b719d43 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1 @@ +{".":"0.0.0"} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..e33ce20 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,16 @@ +{ + "release-type": "simple", + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": true, + "pull-request-title-pattern": "chore: Release ${version}", + "group-pull-request-title-pattern": "chore: Release ${version}", + "packages": { + ".": { + "release-type": "simple", + "include-component-in-tag": false + } + }, + "plugins": [ + "sentence-case" + ] +} From cb76caed24d1f8a2d01f8d56ec44d0b895e4cbcf Mon Sep 17 00:00:00 2001 From: Tom French <15848336+TomAFrench@users.noreply.github.com> Date: Wed, 4 Dec 2024 17:46:59 +0000 Subject: [PATCH 2/3] chore: test against noir 1.0.0-beta.0 (#15) --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0d2030e..1fc4f42 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - toolchain: [nightly, 0.37.0] + toolchain: [nightly, 0.37.0, 1.0.0-beta.0] steps: - name: Checkout sources uses: actions/checkout@v4 From 145da0ad8480e923d29adcb61da91f1dd4171fe2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 4 Dec 2024 17:48:29 +0000 Subject: [PATCH 3/3] chore: Release 0.1.0 (#17) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .release-please-manifest.json | 2 +- CHANGELOG.md | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b719d43..b881a39 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1 +1 @@ -{".":"0.0.0"} +{".":"0.1.0"} diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..77723e5 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,24 @@ +# Changelog + +## 0.1.0 (2024-12-04) + + +### ⚠ BREAKING CHANGES + +* update to support Noir 0.37.0 ([#9](https://github.com/noir-lang/noir-edwards/issues/9)) +* update to support Noir 0.36.0 ([#7](https://github.com/noir-lang/noir-edwards/issues/7)) + +### Features + +* Update to support Noir 0.36.0 ([#7](https://github.com/noir-lang/noir-edwards/issues/7)) ([3188ea7](https://github.com/noir-lang/noir-edwards/commit/3188ea74fe3b059219a2ea87899589c266256d74)) + + +### Bug Fixes + +* Update to support Noir 0.37.0 ([#9](https://github.com/noir-lang/noir-edwards/issues/9)) ([a8156aa](https://github.com/noir-lang/noir-edwards/commit/a8156aac31f46de85b2d5f69ac71050b58daf9dc)) +* Use `ec` library instead of standard library ([#13](https://github.com/noir-lang/noir-edwards/issues/13)) ([af7daa8](https://github.com/noir-lang/noir-edwards/commit/af7daa8f5f942435e405f69f7c11182a350f65b7)) + + +### Miscellaneous Chores + +* Add release-please ([#16](https://github.com/noir-lang/noir-edwards/issues/16)) ([8f17cdf](https://github.com/noir-lang/noir-edwards/commit/8f17cdfdcade8a4fd3ae54450517a57ba3313f61))