Skip to content

Commit

Permalink
Merge pull request #3 from KarmaComputing/2-adding-automatic-release-…
Browse files Browse the repository at this point in the history
…tagg

Fix #2 added autorc for automatic release tagging
  • Loading branch information
chrisjsimpson authored Sep 10, 2022
2 parents 4dc5941 + da3b137 commit cce0a9d
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .autorc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"plugins": [
"git-tag",
"all-contributors",
"first-time-contributor",
"released"
],
"owner": "openbankproject",
"repo": "OBP-API",
"name": "openbankproject",
"email": "[email protected]"
}
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Cut Release

on:
push:
branches:
- main
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v2

- name: Prepare repository
run: git fetch --unshallow --tags

- name: Display the environment variables and their values
run: |
curl -L -o /tmp/auto.gz https://github.com/intuit/auto/releases/download/v10.37.4/auto-linux.gz
gzip -d /tmp/auto.gz
chmod +x /tmp/auto
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npx /tmp/auto shipit

0 comments on commit cce0a9d

Please sign in to comment.