Skip to content

Merge pull request #1662 from dandi/fix-typo #460

Merge pull request #1662 from dandi/fix-typo

Merge pull request #1662 from dandi/fix-typo #460

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # fetch history for all branches and tags
token: ${{ secrets.GH_TOKEN }} # use PAT with permissions to push to master
- name: Download latest auto
run: |
auto_download_url="$(curl -fsSL https://api.github.com/repos/intuit/auto/releases/latest | jq -r '.assets[] | select(.name == "auto-linux.gz") | .browser_download_url')"
wget -O- "$auto_download_url" | gunzip > ~/auto
chmod a+x ~/auto
- name: Create Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
~/auto shipit --message="auto shipit - CHANGELOG.md etc"