Skip to content

Commit

Permalink
Hotfix/ci: remove ipfsaddr from build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jsonsivar committed Sep 6, 2020
1 parent 63aadf0 commit dab45c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
IPFS_ADDR: ${{ secrets.IPFS_ADDR }}
MONGO_USR: ${{ secrets.MONGO_USR }}
MONGO_PW: ${{ secrets.MONGO_PW }}
MONGO_HOST: ${{ secrets.MONGO_HOST }}
Expand Down
9 changes: 3 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ builds:
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X main.ipfsaddr={{ .Env.IPFS_ADDR }}
- -X main.mongousr={{ .Env.MONGO_USR }}
- -s -w -X main.mongousr={{ .Env.MONGO_USR }}
- -X main.mongopw={{ .Env.MONGO_PW }}
- -X main.mongohost={{ .Env.MONGO_HOST }}
- -X main.mongorepset={{ .Env.MONGO_REPLICA_SET }}
Expand All @@ -34,8 +33,7 @@ builds:
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X main.ipfsaddr={{ .Env.IPFS_ADDR }}
- -X main.mongousr={{ .Env.MONGO_USR }}
- -s -w -X main.mongousr={{ .Env.MONGO_USR }}
- -X main.mongopw={{ .Env.MONGO_PW }}
- -X main.mongohost={{ .Env.MONGO_HOST }}
- -X main.mongorepset={{ .Env.MONGO_REPLICA_SET }}
Expand All @@ -59,8 +57,7 @@ builds:
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X main.ipfsaddr={{ .Env.IPFS_ADDR }}
- -X main.mongousr={{ .Env.MONGO_USR }}
- -s -w -X main.mongousr={{ .Env.MONGO_USR }}
- -X main.mongopw={{ .Env.MONGO_PW }}
- -X main.mongohost={{ .Env.MONGO_HOST }}
- -X main.mongorepset={{ .Env.MONGO_REPLICA_SET }}
Expand Down

0 comments on commit dab45c7

Please sign in to comment.