Skip to content

Commit f2bffbd

Browse files
committed
Fix #2 added autorc for automatic release tagging
Ref OpenBankProject#2105
1 parent 4dc5941 commit f2bffbd

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

.autorc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"plugins": [
3+
"git-tag",
4+
"all-contributors",
5+
"first-time-contributor",
6+
"released"
7+
],
8+
"owner": "Karmacomputing",
9+
"repo": "OBP-API",
10+
"name": "joel",
11+
"email": "joel@karmacomputing.co.uk"
12+
}

.github/workflows/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Cut Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
release:
11+
runs-on: ubuntu-latest
12+
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Prepare repository
17+
run: git fetch --unshallow --tags
18+
19+
- name: Display the environment variables and their values
20+
run: |
21+
curl -L -o /tmp/auto.gz https://github.com/intuit/auto/releases/download/v10.37.4/auto-linux.gz
22+
gzip -d /tmp/auto.gz
23+
chmod +x /tmp/auto
24+
- name: Create Release
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
run: |
28+
npx /tmp/auto shipit

0 commit comments

Comments
 (0)