Skip to content

Commit d4cf445

Browse files
committed
ci: automate creation of GitHub releases and tags
1 parent d041c9a commit d4cf445

File tree

3 files changed

+45
-0
lines changed

3 files changed

+45
-0
lines changed

.github/workflows/release-check.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Release Checker
2+
3+
on:
4+
pull_request_target:
5+
paths: ["version.json"]
6+
types: [ opened, synchronize, reopened, labeled, unlabeled ]
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
release-check:
19+
uses: ipdxco/unified-github-workflows/.github/workflows/[email protected]
20+
with:
21+
sources: '["version.json"]'

.github/workflows/releaser.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Releaser
2+
3+
on:
4+
push:
5+
paths: ["version.json"]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.sha }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
releaser:
17+
uses: ipdxco/unified-github-workflows/.github/workflows/[email protected]
18+
with:
19+
sources: '["version.json"]'
20+
secrets:
21+
UCI_GITHUB_TOKEN: ${{ secrets.UCI_GITHUB_TOKEN }}

version.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"version": "v1.28.0"
3+
}

0 commit comments

Comments
 (0)