From 941116704daca882b848b6569c0918fadb7ff6c6 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 22 Sep 2024 14:15:57 +0100 Subject: [PATCH] build: drop release-plz Don't want to publish on crates.io and release-plz wants to insist on it. --- .forgejo/workflows/push-main.yml | 29 ----------------------------- release-plz.toml | 25 ------------------------- 2 files changed, 54 deletions(-) delete mode 100644 .forgejo/workflows/push-main.yml delete mode 100644 release-plz.toml diff --git a/.forgejo/workflows/push-main.yml b/.forgejo/workflows/push-main.yml deleted file mode 100644 index b8b386f..0000000 --- a/.forgejo/workflows/push-main.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Release Please - -permissions: - pull-requests: write - contents: write - -on: - push: - branches: - - main - -env: - CARGO_TERM_COLOR: always - -jobs: - release-plz: - name: Release-plz - runs-on: docker - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Run release-plz release-pr - uses: https://git.kemitix.net/kemitix/rust@v2.1.0 - with: - args: release-plz release-pr --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }} - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/release-plz.toml b/release-plz.toml deleted file mode 100644 index e48d27b..0000000 --- a/release-plz.toml +++ /dev/null @@ -1,25 +0,0 @@ -[workspace] -# Disable git releases for all packages by default -git_release_enable = true - -# Disable git tags for all packages by default -git_tag_enable = true - -# set the path of all the crates to the changelog to the root of the repository -changelog_path = "./CHANGELOG.md" - -[changelog] -body = """ - -## [{{ version | trim_start_matches(pat="v") }}]{%- if release_link -%}({{ release_link }}){% endif %} - {{ timestamp | date(format="%Y-%m-%d") }} -{% for group, commits in commits | group_by(attribute="group") %} -### {{ group | upper_first }} -{% for commit in commits %} -{%- if commit.scope -%} -- *({{commit.scope}})* {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }}{%- if commit.links %} ({% for link in commit.links %}[{{link.text}}]({{link.href}}) {% endfor -%}){% endif %} -{% else -%} -- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }} -{% endif -%} -{% endfor -%} -{% endfor -%} -"""