Skip to content

Commit 5bf5ead

Browse files
Create releases in GitHub (#21)
1 parent 5b2bff2 commit 5bf5ead

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.circleci/config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ executors:
88
docker:
99
- image: cimg/deploy:2025.01
1010
resource_class: medium
11+
gh:
12+
docker:
13+
- image: maniator/gh:latest
14+
resource_class: medium
1115
linux-vm:
1216
machine:
1317
image: ubuntu-2204:current
@@ -33,6 +37,9 @@ workflows:
3337
- deploy-chart:
3438
requires: [approve-deploy-chart]
3539
context: runner-deploy
40+
- create-release:
41+
requires: [approve-deploy-chart]
42+
context: runner-deploy
3643

3744
jobs:
3845
lint:
@@ -139,6 +146,15 @@ jobs:
139146
version: "$(./do version)"
140147
- notify_failing_main
141148

149+
create-release:
150+
executor: gh
151+
steps:
152+
- run: apk add --no-cache bash
153+
- run:
154+
name: Create Release
155+
command: gh release create "$(./do version)" -R "CircleCI-Public/circleci-server-monitoring-reference"
156+
- notify_failing_main
157+
142158
smoke-tests:
143159
executor: linux-vm
144160
steps:

0 commit comments

Comments
 (0)