From a584cbf2a0ff29934a432c298b9023c6b8fb43a0 Mon Sep 17 00:00:00 2001 From: Rain Date: Tue, 30 Jan 2024 18:19:35 -0800 Subject: [PATCH] add release.toml --- .github/workflows/release.yml | 6 +++--- CHANGELOG.md | 7 +++++++ release.toml | 8 ++++++++ 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 CHANGELOG.md create mode 100644 release.toml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f956da1b7..b8a274013 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ name: Publish release on: push: tags: - - '*' + - "*" jobs: create-release: @@ -22,8 +22,8 @@ jobs: - uses: taiki-e/create-gh-release-action@v1 with: changelog: CHANGELOG.md - title: cancel-safe-futures $version + title: newtype-uuid $version branch: main - prefix: cancel-safe-futures + prefix: newtype-uuid env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..46f0ba78d --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,7 @@ +# Changelog + +## [0.1.0] - 2024-01-30 + +Initial release. + +[0.1.0]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-0.1.0 diff --git a/release.toml b/release.toml new file mode 100644 index 000000000..075a833ce --- /dev/null +++ b/release.toml @@ -0,0 +1,8 @@ +sign-tag = true +# Required for templates below to work +consolidate-commits = false +pre-release-commit-message = "[{{crate_name}}] version {{version}}" +tag-message = "[{{crate_name}}] version {{version}}" +tag-name = "newtype-uuid-{{version}}" +publish = false +dependent-version = "upgrade"