Skip to content

Commit

Permalink
chore: add github action for creating release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranav2612000 committed May 18, 2024
1 parent 4e99db1 commit 8ca5f8d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/initiateRelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Initiate Release

permissions:
pull-requests: write
contents: write

on:
push:
branches:
- main

jobs:
release-plz:
name: Release(PR or Publish)
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: MarcoIeni/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
6 changes: 6 additions & 0 deletions release-plz.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[workspace]
release_always = false

[[package]]
name = "acap"
release = false

0 comments on commit 8ca5f8d

Please sign in to comment.