Skip to content

Commit c1b752c

Browse files
author
Stephan Dilly
committed
use correct version
1 parent 2047b59 commit c1b752c

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

.github/workflows/cd.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,20 @@ name: CD
22

33
on:
44
push:
5-
branches: [ '*' ]
6-
# push:
7-
# tags:
8-
# - '*'
5+
tags:
6+
- '*'
97

108
jobs:
119
release-osx:
1210
runs-on: macos-latest
1311
steps:
1412
- uses: actions/checkout@v2
15-
# - name: Build
16-
# run: cargo build
17-
# - name: Run tests
18-
# run: make test
19-
# - name: Run clippy
20-
# run: make clippy
13+
- name: Build
14+
run: cargo build
15+
- name: Run tests
16+
run: make test
17+
- name: Run clippy
18+
run: make clippy
2119
- name: Build Release
2220
run: make build-release
2321

@@ -52,7 +50,7 @@ jobs:
5250
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.BREW_TOKEN }}
5351
run: |
5452
brew tap extrawurst/tap
55-
brew bump-formula-pr -f --version=v0.2.0 --no-browse --no-audit \
53+
brew bump-formula-pr -f --version=${{ github.ref }} --no-browse --no-audit \
5654
--sha256=${{ steps.shasum.outputs.sha }} \
57-
--url="https://github.com/extrawurst/gitui/releases/download/refs%2Fheads%2Fcd-pipeline/gitui-mac.tar.gz" \
55+
--url="https://github.com/extrawurst/gitui/releases/download/${{ github.ref }}/gitui-mac.tar.gz" \
5856
extrawurst/tap/gitui

0 commit comments

Comments
 (0)