File tree Expand file tree Collapse file tree 3 files changed +36
-2
lines changed Expand file tree Collapse file tree 3 files changed +36
-2
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - v[1-9]+.[0-9]+.[0-9]+-hotfix-[1-9]+ # match branches in format v6-20-10-hotfix-1
5+ - hotfix-test-[1-9]+
6+
7+ name : Release
8+
9+ jobs :
10+ release :
11+ if : github.repository == 'ydb-platform/ydb-embedded-ui'
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : actions/setup-node@v4
16+ with :
17+ node-version : 18
18+ - run : npm ci
19+ - run : npm test
20+ - uses : googleapis/release-please-action@v4
21+ with :
22+ token : ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }}
23+ release-type : node
24+ target-branch : ${{ github.ref_name }}
25+ manifest-file : .release-please-manifest-hotfix.json
Original file line number Diff line number Diff line change 11on :
22 push :
3- branches : [main]
3+ branches :
4+ - main
5+ - v[1-9]+.[0-9]+.[0-9]+-hotfix-[1-9]+ # match branches in format v6-20-10-hotfix-1
6+ - hotfix-test-[1-9]+
47
58name : Release
69
1518 node-version : 18
1619 - run : npm ci
1720 - run : npm test
18- - uses : GoogleCloudPlatform /release-please-action@v3
21+ - uses : googleapis /release-please-action@v4
1922 with :
2023 token : ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }}
2124 release-type : node
25+ target-branch : ${{ github.ref_name }}
26+ manifest-file : ${{ github.ref_name != 'main' && ".release-please-manifest-hotfix.json" || ".release-please-manifest.json" }}
Original file line number Diff line number Diff line change 1+ {
2+ "prerelease-type" : " hotfix" ,
3+ "prerelease" : true
4+ }
You can’t perform that action at this time.
0 commit comments