Skip to content

Commit

Permalink
Fixed release publish yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham149 committed Mar 23, 2023
1 parent ceb7d8a commit 5ea9d27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ steps:
- GOOS=linux GOARCH=arm64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-s3-linux-arm64
- GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-s3-darwin-amd64
- GOOS=darwin GOARCH=arm64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-s3-darwin-arm64
- GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-s3-windows-amd64.exe
- GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-s3-windows-amd64

environment:
CGO_ENABLED: 0
Expand All @@ -284,7 +284,7 @@ steps:
- zstd release/drone-s3-linux-arm64
- zstd release/drone-s3-darwin-arm64
- zstd release/drone-s3-darwin-amd64
- zstd release/drone-s3-windows-amd64.exe
- zstd release/drone-s3-windows-amd64

- name: release
image: plugins/github-release
Expand All @@ -294,7 +294,7 @@ steps:
- release/drone-s3-linux-arm64.zst
- release/drone-s3-darwin-arm64.zst
- release/drone-s3-darwin-amd64.zst
- release/drone-s3-windows-amd64.exe.zst
- release/drone-s3-windows-amd64.zst
api_key:
from_secret: github_token
when:
Expand All @@ -304,4 +304,4 @@ depends_on:
- linux-amd64
- linux-arm64
- windows-1809
- windows-ltsc2022
- windows-ltsc2022

0 comments on commit 5ea9d27

Please sign in to comment.