Skip to content

Commit 2189e5b

Browse files
chore: release protobufjs-v7.x (#2174)
1 parent 75392ea commit 2189e5b

5 files changed

Lines changed: 113 additions & 3 deletions

File tree

.github/workflows/release.yaml

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,108 @@ on:
33
branches:
44
- protobufjs-v7.x
55
name: release-please
6+
7+
permissions:
8+
contents: write
9+
issues: write
10+
pull-requests: write
11+
id-token: write
12+
613
jobs:
714
release-please:
815
runs-on: ubuntu-latest
916
steps:
1017
- uses: googleapis/release-please-action@v3
18+
id: release
1119
with:
1220
command: manifest
1321
package-name: release-please-action
1422
default-branch: ${{ github.ref_name }}
23+
24+
- uses: actions/checkout@v6
25+
if: ${{ steps.release.outputs.releases_created == 'true' }}
26+
27+
- uses: actions/setup-node@v6
28+
if: ${{ steps.release.outputs.releases_created == 'true' }}
29+
with:
30+
node-version: 24
31+
registry-url: https://registry.npmjs.org/
32+
33+
- name: Use npm with trusted publishing support
34+
if: ${{ steps.release.outputs.releases_created == 'true' }}
35+
run: npm install -g npm@^11.5.1
36+
37+
- name: Install dependencies
38+
if: ${{ steps.release.outputs.releases_created == 'true' }}
39+
run: npm install --ignore-scripts
40+
41+
- name: Install CLI dependencies
42+
if: ${{ steps.release.outputs.releases_created == 'true' }}
43+
run: npm --prefix cli install --ignore-scripts
44+
45+
- name: Build
46+
if: ${{ steps.release.outputs.releases_created == 'true' }}
47+
run: npm run build
48+
49+
- name: Test
50+
if: ${{ steps.release.outputs.releases_created == 'true' }}
51+
run: npm test
52+
53+
- name: Publish @protobufjs/aspromise
54+
if: ${{ steps.release.outputs['lib/aspromise--release_created'] == 'true' }}
55+
working-directory: lib/aspromise
56+
run: npm publish --ignore-scripts --access public
57+
58+
- name: Publish @protobufjs/base64
59+
if: ${{ steps.release.outputs['lib/base64--release_created'] == 'true' }}
60+
working-directory: lib/base64
61+
run: npm publish --ignore-scripts --access public
62+
63+
- name: Publish @protobufjs/codegen
64+
if: ${{ steps.release.outputs['lib/codegen--release_created'] == 'true' }}
65+
working-directory: lib/codegen
66+
run: npm publish --ignore-scripts --access public
67+
68+
- name: Publish @protobufjs/eventemitter
69+
if: ${{ steps.release.outputs['lib/eventemitter--release_created'] == 'true' }}
70+
working-directory: lib/eventemitter
71+
run: npm publish --ignore-scripts --access public
72+
73+
- name: Publish @protobufjs/fetch
74+
if: ${{ steps.release.outputs['lib/fetch--release_created'] == 'true' }}
75+
working-directory: lib/fetch
76+
run: npm publish --ignore-scripts --access public
77+
78+
- name: Publish @protobufjs/float
79+
if: ${{ steps.release.outputs['lib/float--release_created'] == 'true' }}
80+
working-directory: lib/float
81+
run: npm publish --ignore-scripts --access public
82+
83+
- name: Publish @protobufjs/inquire
84+
if: ${{ steps.release.outputs['lib/inquire--release_created'] == 'true' }}
85+
working-directory: lib/inquire
86+
run: npm publish --ignore-scripts --access public
87+
88+
- name: Publish @protobufjs/path
89+
if: ${{ steps.release.outputs['lib/path--release_created'] == 'true' }}
90+
working-directory: lib/path
91+
run: npm publish --ignore-scripts --access public
92+
93+
- name: Publish @protobufjs/pool
94+
if: ${{ steps.release.outputs['lib/pool--release_created'] == 'true' }}
95+
working-directory: lib/pool
96+
run: npm publish --ignore-scripts --access public
97+
98+
- name: Publish @protobufjs/utf8
99+
if: ${{ steps.release.outputs['lib/utf8--release_created'] == 'true' }}
100+
working-directory: lib/utf8
101+
run: npm publish --ignore-scripts --access public
102+
103+
- name: Publish protobufjs
104+
if: ${{ steps.release.outputs.release_created == 'true' }}
105+
run: npm publish --ignore-scripts --tag latest-7
106+
107+
- name: Publish protobufjs-cli
108+
if: ${{ steps.release.outputs['cli--release_created'] == 'true' }}
109+
working-directory: cli
110+
run: npm publish --ignore-scripts --tag latest-1

.release-please-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
".": "7.5.5",
3-
"cli": "1.2.0",
2+
".": "7.5.6",
3+
"cli": "1.2.1",
44
"lib/aspromise": "1.1.2",
55
"lib/base64": "1.1.2",
66
"lib/codegen": "2.0.5",

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [7.5.6](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.5...protobufjs-v7.5.6) (2026-04-27)
4+
5+
6+
### Bug Fixes
7+
8+
* Backport input hardening and CLI fixes to 7.x ([#2173](https://github.com/protobufjs/protobuf.js/issues/2173)) ([75392ea](https://github.com/protobufjs/protobuf.js/commit/75392ea1b78bdc4faba027b5db44ad7c50e9c454))
9+
310
## [7.5.4](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.3...protobufjs-v7.5.4) (2025-08-15)
411

512

cli/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [1.2.1](https://github.com/protobufjs/protobuf.js/compare/protobufjs-cli-v1.2.0...protobufjs-cli-v1.2.1) (2026-04-27)
4+
5+
6+
### Bug Fixes
7+
8+
* Backport input hardening and CLI fixes to 7.x ([#2173](https://github.com/protobufjs/protobuf.js/issues/2173)) ([75392ea](https://github.com/protobufjs/protobuf.js/commit/75392ea1b78bdc4faba027b5db44ad7c50e9c454))
9+
310
## [1.2.0](https://github.com/protobufjs/protobuf.js/compare/protobufjs-cli-v1.1.4...protobufjs-cli-v1.2.0) (2025-04-15)
411

512

release-please-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"bootstrap-sha": "6fc37d9ea3502cdc08ef988494c041aacd0f7e7f",
2+
"bootstrap-sha": "75392ea1b78bdc4faba027b5db44ad7c50e9c454",
33
"packages": {
44
"cli": {},
55
".": {},

0 commit comments

Comments
 (0)