Skip to content

Commit

Permalink
Merge pull request #25 from Aleph-Alpha/release-please
Browse files Browse the repository at this point in the history
ci: add release-please action
  • Loading branch information
moldhouse authored Oct 23, 2024
2 parents 74c5ca5 + 103fd6c commit 4ef306f
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 22 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
- if: ${{ steps.release.outputs.release_created }}
steps:
- uses: actions/checkout@v4
- name: Publish to cargo
env:
CARGO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
run: cargo publish --token "${CARGO_TOKEN}"
22 changes: 0 additions & 22 deletions .github/workflows/release.yml

This file was deleted.

1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
10 changes: 10 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"last-release-sha": "74c5ca507db8cb62e506600b8f4b41b2223c745a",
"packages": {
".": {
"release-type": "rust"
}
}
}

0 comments on commit 4ef306f

Please sign in to comment.