Skip to content

Commit

Permalink
listing contents of python sdk folder
Browse files Browse the repository at this point in the history
  • Loading branch information
pierskarsenbarg committed Aug 5, 2024
1 parent ed9046d commit c794a17
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,13 @@ tasks:
- pulumi package gen-sdk ./bin/{{.PROVIDER}} --language python
- cp README.md {{.SDK_DIR}}/python/
- cd {{.SDK_DIR}}/python/
- python3 setup.py clean --all
# - python3 setup.py clean --all 2>/dev/null
- rm -rf ./bin/ ../python.bin/ && cp -R . ../python.bin && mv ../python.bin ./bin
- sed -i.bak -e 's/^VERSION = .*/VERSION = "{{.PYTHON_VERSION}}"/g' -e 's/^PLUGIN_VERSION = .*/PLUGIN_VERSION = "{{.VERSION}}"/g' ./bin/setup.py && \
- rm ./bin/setup.py.bak
- cd ./bin && python3 setup.py build sdist
- ls
# - python3 setup.py clean --all
# # - python3 setup.py clean --all 2>/dev/null
# - rm -rf ./bin/ ../python.bin/ && cp -R . ../python.bin && mv ../python.bin ./bin
# - sed -i.bak -e 's/^VERSION = .*/VERSION = "{{.PYTHON_VERSION}}"/g' -e 's/^PLUGIN_VERSION = .*/PLUGIN_VERSION = "{{.VERSION}}"/g' ./bin/setup.py && \
# - rm ./bin/setup.py.bak
# - cd ./bin && python3 setup.py build sdist
vars:
PYTHON_VERSION:
sh: pulumictl get version --language python
Expand Down

0 comments on commit c794a17

Please sign in to comment.