We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 85ff2ca + 8b19c4c commit f651072Copy full SHA for f651072
.github/workflows/release.yaml
@@ -1,11 +1,12 @@
1
name: Release Binary
2
3
on:
4
- create:
+ push:
5
+ tags:
6
+ - 'v*'
7
8
jobs:
9
build-artifacts:
- if: ${{ startsWith(github.ref, 'refs/tags/v') }}
10
runs-on: ubuntu-latest
11
name: Build Artifacts
12
env:
action.yaml
@@ -17,7 +17,7 @@ runs:
17
- name: Get Binary
18
shell: bash
19
run: |
20
- BIN_URL=$(curl https://api.github.com/repos/LuisLiraC/git-diff/releases/tags/v1.0.0 | jq -r '.assets[0].browser_download_url')
+ BIN_URL=$(curl https://api.github.com/repos/LuisLiraC/git-diff/releases/latest | jq -r '.assets[0].browser_download_url')
21
curl -s -L $BIN_URL -o rust-binary.tgz
22
tar -xzvf rust-binary.tgz
23
mv ./Linux/git-diff ./git-diff
0 commit comments