Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.28.0 #2556

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all 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
14 changes: 10 additions & 4 deletions .github/workflows/create-release-pr.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Create Release PR
on:
push:
branches:
- osun/fix-git-permission
workflow_dispatch:
inputs:
version:
Expand All @@ -11,21 +14,24 @@ jobs:
prepare:
runs-on: ubuntu-latest
steps:
- name: Checkout repository code
uses: actions/checkout@v4
- name: Get GitHub app token
uses: actions/create-github-app-token@v1
id: app_token
with:
app-id: ${{ env.APP_ID }}
private-key: ${{ secrets.TOKEN_EXCHANGE_GH_APP_PRIVATE_KEY }}
- name: Checkout repository code
uses: actions/checkout@v4
with:
token: ${{ steps.app_token.outputs.token }}
- name: Set up Git name and email
run: |
git config --global user.email "251311+buf-release-bot[bot]@users.noreply.github.com"
git config --global user.name "buf-release-bot[bot]"
- name: Create release PR
run: bash ./make/buf/scripts/createreleasepr.bash
env:
GH_TOKEN: ${{ steps.app_token.outputs.token }}
VERSION: ${{ github.event.inputs.version }}
GITHUB_TOKEN: ${{ steps.app_token.outputs.token }}
# VERSION: ${{ github.event.inputs.version }}
VERSION: 1.28.0
WEBHOOK_URL: ${{ secrets.SLACK_RELEASE_NOTIFICATION_WEBHOOK }}
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## [Unreleased]
## [v1.28.0] - 2023-11-10

- Add lint rules for [protovalidate](https://github.com/bufbuild/protovalidate). `buf lint`
will now verify that your protovalidate rules are valid. A single rule `PROTOVALIDATE` has been
Expand Down Expand Up @@ -973,7 +973,7 @@ buf check breaking proto --against .git#branch=master,subdir=proto

Initial beta release.

[Unreleased]: https://github.com/bufbuild/buf/compare/v1.27.2...HEAD
[v1.28.0]: https://github.com/bufbuild/buf/compare/v1.27.2...v1.28.0
[v1.27.2]: https://github.com/bufbuild/buf/compare/v1.27.1...v1.27.2
[v1.27.1]: https://github.com/bufbuild/buf/compare/v1.27.0...v1.27.1
[v1.27.0]: https://github.com/bufbuild/buf/compare/v1.26.1...v1.27.0
Expand Down
2 changes: 1 addition & 1 deletion make/buf/scripts/createreleasepr.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cd "${DIR}"
# We already have set -u, but want to fail early if a required variable is not set.
: ${WEBHOOK_URL}
# However, if you are already logged in for GitHub CLI locally, you can remove this line when running it locally.
: ${GH_TOKEN}
# : ${GH_TOKEN}

if [[ "${VERSION}" == v* ]]; then
echo "error: VERSION ${VERSION} must not start with 'v'" >&2
Expand Down
2 changes: 1 addition & 1 deletion private/buf/bufcli/bufcli.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ import (

const (
// Version is the CLI version of buf.
Version = "1.27.3-dev"
Version = "1.28.0"

inputHTTPSUsernameEnvKey = "BUF_INPUT_HTTPS_USERNAME"
inputHTTPSPasswordEnvKey = "BUF_INPUT_HTTPS_PASSWORD"
Expand Down