Skip to content

Commit c93a8b1

Browse files
authored
Align make target name with other native providers (#74)
1 parent 371266a commit c93a8b1

File tree

7 files changed

+7
-10
lines changed

7 files changed

+7
-10
lines changed

.github/workflows/master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
- name: Install Pulumi CLI
126126
uses: pulumi/setup-pulumi@v2
127127
- name: Build codegen binaries
128-
run: make gen
128+
run: make codegen
129129
- name: Build provider binary
130130
run: make provider
131131
- name: Check worktree clean

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
- name: Install Pulumi CLI
132132
uses: pulumi/setup-pulumi@v2
133133
- name: Build codegen binaries
134-
run: make gen
134+
run: make codegen
135135
- name: Build provider binary
136136
run: make provider
137137
- name: Check worktree clean

.github/workflows/run-acceptance-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
# - name: Initialize submodules
6868
# run: make init_submodules
6969
- name: Build codegen binaries
70-
run: make gen
70+
run: make codegen
7171
# - name: Build Schema
7272
# run: make generate_schema
7373
# - name: Check Schema is Valid

.github/workflows/weekly-pulumi-update.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ jobs:
5151
if ! git diff-files --quiet; then
5252
echo ::set-output name=changes::1
5353
fi
54-
# - name: Build codegen binaries
55-
# if: steps.gomod.outputs.changes != 0
56-
# run: make gen
5754
- name: Gen, provider, sdks
5855
if: steps.gomod.outputs.changes != 0
5956
run: make build

.goreleaser.prerelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ archives:
33
name_template: '{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}'
44
before:
55
hooks:
6-
- make gen
6+
- make codegen
77
blobs:
88
- bucket: get.pulumi.com
99
folder: releases/plugins/

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ archives:
33
name_template: '{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}'
44
before:
55
hooks:
6-
- make gen
6+
- make codegen
77
blobs:
88
- bucket: get.pulumi.com
99
folder: releases/plugins/

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ensure::
2323
cd sdk && go mod tidy
2424
cd examples && go mod tidy
2525

26-
gen::
26+
codegen::
2727
(cd provider && go build -o $(WORKING_DIR)/bin/${CODEGEN} -ldflags "-X ${PROJECT}/${VERSION_PATH}=${VERSION}" ${PROJECT}/${PROVIDER_PATH}/cmd/$(CODEGEN))
2828
(cd provider && VERSION=${VERSION} go generate cmd/${PROVIDER}/main.go)
2929

@@ -71,7 +71,7 @@ python_sdk::
7171
cd ./bin && python3 setup.py build sdist
7272

7373
.PHONY: build
74-
build:: gen provider dotnet_sdk go_sdk nodejs_sdk python_sdk
74+
build:: codegen provider dotnet_sdk go_sdk nodejs_sdk python_sdk
7575

7676
# Required for the codegen action that runs in pulumi/pulumi
7777
only_build:: build

0 commit comments

Comments
 (0)