fix(pulumi)

closes #3551
This commit is contained in:
Jacob Heider 2023-10-06 17:18:26 -04:00
parent 929758b320
commit 7076663a24
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -15,20 +15,23 @@ dependencies:
build:
dependencies:
go.dev: '*'
script: |
pushd sdk
go mod download
popd
script:
- run: go mod download
working-directory: sdk
pushd pkg
go mod download
popd
- run: go mod download
working-directory: pkg
make build
make install
- run: |
sed -i.bak -e 's/-ldflags "/-ldflags "-buildmode=pie /g' Makefile
rm Makefile.bak
if: linux
mkdir -p {{prefix}}/bin
mv build/bin/pulumi* {{prefix}}/bin/
- make build
- make install
- mkdir -p {{prefix}}/bin
- mv build/bin/pulumi* {{prefix}}/bin/
# Install shell completions
# TODO: Doesn't work for zsh. Should it be left up to user?