Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ jobs:
- name: Install Go tools
run: make goreleaser repogen

- name: Override tap skip_upload
if: inputs.upload_taps == true
run: "sed -i 's/skip_upload: auto/skip_upload: false/' .goreleaser.yaml"

- name: Build release (tag)
if: startsWith(github.ref, 'refs/tags/') || inputs.tag
env:
Expand All @@ -127,6 +123,7 @@ jobs:
RSA_SIGNING_KEY_FILE: ${{ steps.signing-keys.outputs.key_dir }}/rsa-signing-key.pem
GPG_SIGNING_KEY_FILE: ${{ steps.signing-keys.outputs.key_dir }}/gpg-signing-key.asc
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}
SKIP_UPLOAD_TAPS: ${{ inputs.upload_taps == true && 'false' || 'auto' }}
run: make release

- name: Build snapshot (branch)
Expand Down
8 changes: 4 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ archives:

brews:
- name: platformsh-cli
skip_upload: auto
skip_upload: '{{ envOrDefault "SKIP_UPLOAD_TAPS" "auto" }}'
repository:
owner: upsun
name: homebrew-tap
Expand Down Expand Up @@ -186,7 +186,7 @@ brews:
system "#{bin}/platform --version"

- name: upsun-cli
skip_upload: auto
skip_upload: '{{ envOrDefault "SKIP_UPLOAD_TAPS" "auto" }}'
repository:
owner: upsun
name: homebrew-tap
Expand Down Expand Up @@ -218,7 +218,7 @@ brews:

scoops:
- name: platform
skip_upload: auto
skip_upload: '{{ envOrDefault "SKIP_UPLOAD_TAPS" "auto" }}'
repository:
owner: upsun
name: homebrew-tap
Expand All @@ -240,7 +240,7 @@ scoops:
- extras/vcredist2022

- name: upsun
skip_upload: auto
skip_upload: '{{ envOrDefault "SKIP_UPLOAD_TAPS" "auto" }}'
repository:
owner: upsun
name: homebrew-tap
Expand Down
Loading