Skip to content

Commit

Permalink
Attempt at fixing build
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanJarv committed Aug 22, 2024
1 parent a4466ee commit 85a07ce
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
Binary file added .github/workflows/.go-release.yml.swp
Binary file not shown.
2 changes: 0 additions & 2 deletions .github/workflows/go-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
- run: git fetch --prune --unshallow
- name: setup dependencies
uses: actions/setup-go@v2
- name: release dry run
run: make release-dry-run
- name: setup release environment
run: |-
echo 'GITHUB_TOKEN=${{secrets.GORELEASER_ACCESS_TOKEN}}' > .release-env
Expand Down
12 changes: 0 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,6 @@ sysroot-pack:
sysroot-unpack:
@pv $(SYSROOT_ARCHIVE) | pbzip2 -cd | tar -xf -

.PHONY: release-dry-run
release-dry-run:
@docker run \
--rm \
-e CGO_ENABLED=1 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v `pwd`:/go/src/$(PACKAGE_NAME) \
-v `pwd`/sysroot:/sysroot \
-w /go/src/$(PACKAGE_NAME) \
ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
--clean --skip=validate --skip=publish

.PHONY: release
release:
@if [ ! -f ".release-env" ]; then \
Expand Down

0 comments on commit 85a07ce

Please sign in to comment.