Skip to content

Commit d7de94f

Browse files
committed
added auto release
1 parent d15fe72 commit d7de94f

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.autorc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"plugins": [
3+
"git-tag",
4+
"released"
5+
],
6+
"owner": "karmacomputing",
7+
"repo": "flask-saas",
8+
"name": "chrisjsimpson",
9+
"email": "chris.j.simpson@live.co.uk"
10+
}

.github/workflows/release.yml

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

0 commit comments

Comments
 (0)