Skip to content

Commit

Permalink
ci: fix trigger release
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni committed Jun 5, 2022
1 parent 5d001d5 commit 4db7428
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,4 @@ jobs:
author: '${{env.GH_USER}} ${{env.GH_EMAIL}}'
title: 'chore(release): v${{steps.version_bump.outputs.newVersion}}'
body: Version bump
branch: 'version-bump/v${{steps.version_bump.outputs.newVersion}}'

package=$(curl -s https://api.github.com/repos/errata-ai/vale/releases/latest \
| jq -r ' .assets[] | select(.name | contains("Linux"))'); output=$(mktemp -d); \
echo $package | jq -r '.browser_download_url' | xargs curl -L --output-dir $output -O; \
echo $package | jq -r '.name' | sed -r "s#(.*)#$output/\1#g" | xargs cat \
| tar xzf - -C $output; cp $output/vale $HOME/bin
branch: 'version-bump/v${{steps.version_bump.outputs.newVersion}}'

0 comments on commit 4db7428

Please sign in to comment.