Skip to content

Commit

Permalink
Added release.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
ashercaulfield committed Apr 18, 2024
1 parent b3e54ac commit 1fd3710
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Cut Release
permissions:
contents: write

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/v11.1.6/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 1fd3710

Please sign in to comment.