Skip to content

Commit

Permalink
github/workflows/release_plz: ignore flight-sql-table-provider crate (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
hozan23 authored Nov 15, 2024
1 parent 7b3798a commit 7818648
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release_plz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,24 @@ jobs:
fetch-depth: 0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Close old release PR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# List all opened PRs which head branch starts with "release-plz-"
release_pr=$(gh pr list --state='open' --json number,headRefName --jq '.[] | select(.headRefName | startswith("release-plz-")) | .number')
# Close the release PR if there is one
if [[ -n "$release_pr" ]]; then
echo "Closing old release PR $release_pr"
gh pr close $release_pr
else
echo "No open release PR"
fi
- name: Run release-plz
uses: MarcoIeni/release-plz-action@v0.5
with:
command: release-pr
config: .release-plz.toml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
5 changes: 5 additions & 0 deletions .release-plz.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[[package]]
name = "datafusion-flight-sql-table-provider"
changelog_update = false
git_release_enable = false
publish = false

0 comments on commit 7818648

Please sign in to comment.