Skip to content

Commit 9a726bd

Browse files
preserve sed VERSION replacement
1 parent 56aab00 commit 9a726bd

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ nodejs_sdk: provider
8282
cd ${PACKDIR}/nodejs/ && \
8383
yarn install && \
8484
yarn run tsc && \
85+
sed -i.bak 's/$${VERSION}/$(VERSION)/g' package.json && \
86+
rm ./package.json.bak && \
8587
cp ../../README.md ../../LICENSE package.json yarn.lock bin/
8688

8789
.PHONY: python_sdk
@@ -93,6 +95,8 @@ python_sdk: provider
9395
cd ${PACKDIR}/python/ && \
9496
python3 setup.py clean --all 2>/dev/null && \
9597
rm -rf ./bin/ ../python.bin/ && cp -R . ../python.bin && mv ../python.bin ./bin && \
98+
sed -i.bak -e 's/^VERSION = .*/VERSION = "$(PYPI_VERSION)"/g' -e 's/^PLUGIN_VERSION = .*/PLUGIN_VERSION = "$(VERSION)"/g' ./bin/setup.py && \
99+
rm ./bin/setup.py.bak && \
96100
cd ./bin && python3 setup.py build sdist
97101

98102
.PHONY: examples

examples/dotnet/provider-defang.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88
<ItemGroup>
99
<PackageReference Include="Pulumi" Version="3.*" />
10-
<PackageReference Include="DefangLabs.Defang" Version="1.1.0-alpha.1741720555+c7a58fa6" />
10+
<PackageReference Include="DefangLabs.Defang" Version="1.1.0-alpha.1741727290+56aab005" />
1111
</ItemGroup>
1212

1313
</Project>

examples/go/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ go 1.20
44

55
require (
66
github.com/pulumi/pulumi/sdk/v3 v3.30.0
7-
github.com/DefangLabs/pulumi-defang/sdk v1.1.0-alpha.1741720555+c7a58fa6
7+
github.com/DefangLabs/pulumi-defang/sdk v1.1.0-alpha.1741727290+56aab005
88
)

examples/nodejs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"dependencies": {
77
"typescript": "^4.0.0",
88
"@pulumi/pulumi": "^3.0.0",
9-
"@defang-io/pulumi-defang": "1.1.0-alpha.1741720555+c7a58fa6"
9+
"@defang-io/pulumi-defang": "1.1.0-alpha.1741727290+56aab005"
1010
}
1111
}

examples/python/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
pulumi-defang==1.1.0-alpha.1741720555+c7a58fa6
1+
pulumi-defang==1.1.0-alpha.1741727290+56aab005
22
pulumi>=3.0.0,<4.0.0

0 commit comments

Comments
 (0)