File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -122,18 +122,26 @@ jobs:
122122 VERSION="${{ steps.version.outputs.version }}"
123123 SHA="${{ steps.sha.outputs.sha256 }}"
124124
125- # Clone the tap repo
125+ DMG=".build/release/MeetingTranscriber-${VERSION}.dmg"
126+
127+ # Upload DMG to public tap repo (main repo is private)
128+ gh release create "v${VERSION}" "$DMG" \
129+ --repo pasrom/homebrew-meeting-transcriber \
130+ --title "v${VERSION}" \
131+ --notes "DMG for Homebrew Cask distribution" \
132+ || gh release upload "v${VERSION}" "$DMG" \
133+ --repo pasrom/homebrew-meeting-transcriber --clobber
134+
135+ # Clone the tap repo and update Cask formula
126136 git clone https://x-access-token:${GH_TOKEN}@github.com/pasrom/homebrew-meeting-transcriber.git /tmp/tap
127137 cd /tmp/tap
128138
129- # Update version and SHA256 in the formula
130139 sed -i '' "s/version \".*\"/version \"${VERSION}\"/" Casks/meeting-transcriber.rb
131140 sed -i '' "s/sha256 \".*\"/sha256 \"${SHA}\"/" Casks/meeting-transcriber.rb
132141
133142 echo "Updated Cask formula:"
134143 cat Casks/meeting-transcriber.rb
135144
136- # Commit and push
137145 git config user.name "github-actions[bot]"
138146 git config user.email "github-actions[bot]@users.noreply.github.com"
139147 git add Casks/meeting-transcriber.rb
You can’t perform that action at this time.
0 commit comments