-
-
Notifications
You must be signed in to change notification settings - Fork 31
42 lines (37 loc) · 1.15 KB
/
release-please.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Create Release
on:
push:
branches:
- develop
jobs:
release-please:
runs-on: ubuntu-latest
strategy:
matrix:
node: [20.18.x]
steps:
- uses: google-github-actions/release-please-action@v3
with:
token: ${{ secrets.GRAYCORE_GITHUB_TOKEN }}
command: manifest
default-branch: develop
- uses: actions/checkout@v4
with:
ref: release-please--branches--develop--components--daffodil
token: ${{ secrets.GRAYCORE_GITHUB_TOKEN }}
- uses: graycoreio/github-actions/setup-node@main
with:
node-version: ${{ matrix.node }}
use-stamp-cache: true
- name: Add Packages to README
run: |
git config user.name "GrayBot"
git config user.email "[email protected]"
cd tools/release
npx gulp addPackagesToReadme
git add ../../README.md
git commit -m 'docs: autogenerate package table in README' || true
npx gulp annotateDeprecationMessages
git add ../..
git commit -m 'docs: annotate deprecation messages' || true
git push