Skip to content

Commit 040788a

Browse files
authored
Merge pull request #69 from cmolisee/hotfix-exec
Hotfix exec
2 parents 0d93d34 + 0eb691a commit 040788a

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.github/workflows/tests.yml renamed to .github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: pre-checks
1+
name: ci
22

33
on: [push]
44

55
jobs:
6-
pre-checks:
6+
ci:
77
runs-on: ubuntu-latest
88
timeout-minutes: 5
99

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
name: packaging
1+
name: release
22

33
on:
44
workflow_run:
5-
workflows: [pre-checks]
5+
workflows: [ci]
66
types:
77
- completed
88

99
jobs:
10-
packaging:
10+
release:
1111
if:
1212
${{ github.ref_name == 'main' &&
1313
github.event.workflow_run.conclusion == 'success' }}

.releaserc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
}
1818
}
1919
],
20+
[
21+
"@semantic-release/exec",
22+
{
23+
"prepareCmd": "./bin/build_release ${nextRelease.version} \"${nextRelease.notes}\""
24+
}
25+
],
2026
[
2127
"@semantic-release/release-notes-generator",
2228
{

0 commit comments

Comments
 (0)