Skip to content

Commit

Permalink
Merge pull request #279 from tri-adam/replace-git-io
Browse files Browse the repository at this point in the history
ci: use official Goreleaser bash script
  • Loading branch information
tri-adam authored Apr 11, 2023
2 parents f2fa67d + e1ca334 commit 0f58d4b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,12 @@ jobs:
- run:
name: Install syft
command: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
- run:
name: Check Configuration
command: curl -sSfL https://goreleaser.com/static/run | bash -s -- check
- run:
name: Test Release
command: curl -sL https://git.io/goreleaser | bash -s -- --snapshot --skip-publish
command: curl -sSfL https://goreleaser.com/static/run | bash -s -- --snapshot --skip-publish

publish-release:
executor: golang-latest
Expand All @@ -114,7 +117,7 @@ jobs:
command: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
- run:
name: Publish Release
command: curl -sL https://git.io/goreleaser | bash
command: curl -sSfL https://goreleaser.com/static/run | bash

workflows:
version: 2
Expand Down

0 comments on commit 0f58d4b

Please sign in to comment.