Skip to content
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions packages/bigframes/release-procedure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# BigQuery DataFrames (bigframes) release procedure

*(Note: bigframes releases are marked with `skip_release: true` in `librarian.yaml` and must be kicked off manually using legacylibrarian.)*

## Setup (First Time Only)

* Install `legacylibrarian`:

go install github.com/googleapis/librarian/cmd/legacylibrarian@latest

* Authenticate with GitHub CLI:

gh auth login

## Release Steps

* Obtain GitHub token:

export LIBRARIAN_GITHUB_TOKEN=$(gh auth token)

* Stash changes (repo must be clean):

git stash -u

* Fetch and checkout base:

git fetch origin main
git fetch origin --tags
git checkout origin/main

* Check image updates:

legacylibrarian update-image -push
Comment thread
shuoweil marked this conversation as resolved.
Outdated

* Create release PR:

# Option A: Push directly
legacylibrarian release stage --repo=https://github.com/googleapis/google-cloud-python --library=bigframes --library-version=X.X.X --push

# Option B: Manual edit first (omit -push, edit files in /tmp/librarian-*, commit/push from there)
legacylibrarian release stage --repo=https://github.com/googleapis/google-cloud-python --library=bigframes --library-version=X.X.X
# In /tmp repository:
git commit -a -m "chore: create release" --no-verify # keep librarian config pristine
# Push branch & create PR on GitHub with release:pending label
Comment thread
shuoweil marked this conversation as resolved.
Outdated

* Post-release restore:

# Move back any stashed/relocated files (like .vscode)
git checkout main
git stash pop
Loading