Skip to content

Commit 0c8814a

Browse files
authored
Debug shasum calculation during distribution (#270)
1 parent 590267a commit 0c8814a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/distribute.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,13 @@ jobs:
3636
repository: anttiharju/homebrew-tap
3737
token: ${{ steps.generate-token.outputs.token }}
3838
path: homebrew-tap
39-
- name: Download bottles
39+
- name: Download binary archives
4040
env:
4141
GH_TOKEN: ${{ github.token }}
4242
TAG: ${{ inputs.tag }}
4343
run: |
4444
gh release download "$TAG" --pattern 'vmatch-*64.tar.gz'
45+
ls -- *.tar.gz
4546
- name: Render formula template
4647
uses: anttiharju/actions/render-template@v0
4748
with:

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dist/brew/values.cache
4141
dist/brew/vmatch.rb
4242
dist/brew/vmatch.template.rb
4343

44-
# Brew bottles
44+
# Binary archives
4545
*.tar.gz
4646

4747
# Packaging happens under this directory

dist/brew/render.bash

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@ if [[ "$quick_mode" == true ]] && [[ -f "$cache_file" ]]; then
2525
cat "$cache_file"
2626
else
2727
echo "Generating fresh values"
28-
rm -rf ../../vmatch-*64.tar.gz
2928
gh release download "$TAG" --pattern 'vmatch-*64.tar.gz'
3029
mv vmatch-*64.tar.gz ../../
31-
3230
source values.bash | tee "$cache_file"
3331
fi
3432

dist/brew/template.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# frozen_string_literal: true
22

3+
# testing
34
class ${class_name} < Formula
45
desc '${description}'
56
homepage '${homepage}'

0 commit comments

Comments
 (0)