mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix(ci): add --repo flag to gh release upload after .git removal
The archive step removes .git before creating the tarball, but gh release upload needs git context to resolve the repo. Pass --repo explicitly to avoid "not a git repository" errors.
This commit is contained in:
@@ -130,7 +130,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
VERSION: ${{ needs.release.outputs.new_version }}
|
||||
run: gh release upload "v${VERSION}" "/tmp/${archive_name}" "/tmp/${archive_name}.sha256" --clobber
|
||||
run: gh release upload "v${VERSION}" "/tmp/${archive_name}" "/tmp/${archive_name}.sha256" --clobber --repo snapotter-hq/SnapOtter
|
||||
|
||||
docker:
|
||||
name: Build (${{ matrix.platform }})
|
||||
|
||||
Reference in New Issue
Block a user