Skip to content

Commit e4ccf70

Browse files
authored
Prepare for v0.1.4 (#36)
Update version in preparation for release.
1 parent 4ebb0cf commit e4ccf70

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed

Makefile

+6-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ SHELL := bash
66
MAKEFLAGS += --warn-undefined-variables
77
MAKEFLAGS += --no-builtin-rules
88
MAKEFLAGS += --no-print-directory
9-
BUF_VERSION ?= 1.32.2
9+
BUF_VERSION ?= 1.33.0
1010

1111
UNAME_S := $(shell uname -s)
1212
ifeq ($(UNAME_S),Darwin)
@@ -39,10 +39,14 @@ build: node_modules format lint
3939
updateversion:
4040
ifndef VERSION
4141
$(error "VERSION must be set")
42+
endif
43+
ifndef VERSION_SHORT
44+
$(error "VERSION_SHORT must be set")
4245
endif
4346
$(SED_I) "s/version: [0-9]+\.[0-9]+\.[0-9]+/version: $(BUF_VERSION)/g" action.yml README.md examples/*.yaml examples/*/*.yaml
44-
$(SED_I) "s/buf-action@v[0-9]+\.[0-9]+\.[0-9]+/buf-action@v$(VERSION)/g" README.md examples/*.yaml examples/*/*.yaml
47+
$(SED_I) "s/buf-action@v[0-9]+\.[0-9]+[\.[0-9]+]?/buf-action@v$(VERSION_SHORT)/g" README.md examples/*.yaml examples/*/*.yaml
4548
$(SED_I) "s/\"version\": \"[0-9]+\.[0-9]+\.[0-9]+\"/\"version\": \"$(VERSION)\"/g" package.json
49+
$(SED_I) "s/^ BUF_VERSION: \"[0-9]+\.[0-9]+\.[0-9]+\"/ BUF_VERSION: \"$(BUF_VERSION)\"/g" .github/workflows/ci.yaml
4650

4751
.PHONY: generate
4852
generate: node_modules ## Regenerate licenses

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ For reproducible builds, you can pin to an explicit version of `buf` by setting
7474
```yaml
7575
- uses: bufbuild/[email protected]
7676
with:
77-
version: 1.32.2
77+
version: 1.33.0
7878
```
7979

8080
If no version is specified in the workflow config, the action will resolve the version in order of precendence:

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ inputs:
2727
Version of the Buf CLI to use.
2828
Example:
2929
with:
30-
version: 1.32.2
30+
version: 1.33.0
3131
required: false
3232
username:
3333
description: |-

examples/disable-skip/buf-ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
18-
- uses: bufbuild/[email protected].3
18+
- uses: bufbuild/[email protected]
1919
with:
2020
username: ${{ secrets.BUF_USERNAME }}
2121
token: ${{ secrets.BUF_TOKEN }}

examples/version-input/buf-ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ jobs:
1212
- uses: bufbuild/[email protected]
1313
with:
1414
setup_only: true
15-
version: 1.32.2
15+
version: 1.33.0
1616
- run: buf version

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "buf-action",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"description": "GitHub Action for buf",
55
"main": "src/main.ts",
66
"scripts": {

0 commit comments

Comments
 (0)