File tree Expand file tree Collapse file tree 2 files changed +11
-12
lines changed
Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -76,19 +76,18 @@ jobs:
7676 ls -la ./dist
7777 pwd
7878
79- - name : List dist directory
79+ - name : Rename wheel file
8080 run : |
81- ls -la ./dist
82- pwd
83- ls dist/prometheus_remote_writer-*.whl
81+ mv dist/prometheus_remote_writer-*.whl dist/prometheus_remote_writer-${{ github.ref_name }}.whl
82+ mv dist/prometheus_remote_writer-*.tar.gz dist/prometheus_remote_writer-${{ github.ref_name }}.tar.gz
8483
8584 - name : Upload Release Assets
8685 uses : actions/upload-release-asset@v1
8786 env :
8887 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8988 with :
9089 upload_url : ${{ steps.create_release.outputs.upload_url }}
91- asset_path : dist/prometheus_remote_writer-0.0.10-py3-none-any .whl
90+ asset_path : dist/prometheus_remote_writer-${{ github.ref_name }} .whl
9291 asset_name : prometheus_remote_writer-${{ github.ref_name }}.whl
9392 asset_content_type : application/zip
9493
9897 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9998 with :
10099 upload_url : ${{ steps.create_release.outputs.upload_url }}
101- asset_path : /home/runner/work/prometheus-remote-writer/prometheus-remote-writer/ dist/prometheus_remote_writer-* .tar.gz
100+ asset_path : dist/prometheus_remote_writer-${{ github.ref_name }} .tar.gz
102101 asset_name : prometheus_remote_writer-${{ github.ref_name }}.tar.gz
103102 asset_content_type : application/gzip
104103
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " prometheus-remote-writer"
3- version = " 0.0.10 "
3+ version = " 0.0.11 "
44description = " A Python package to send data using Prometheus remote write protocol."
55authors = [" xy.kong <xy.kong@gmail.com>" ]
66license = " Apache License 2.0"
@@ -24,12 +24,12 @@ poetry-versions-plugin = ">=0.10.1"
2424
2525
2626[tool .versions ]
27- branch = " release/0.0.10 "
28- commit = " eafb383 "
29- commit_count = 74
27+ branch = " release/0.0.11 "
28+ commit = " 08c34c3 "
29+ commit_count = 78
3030is_dirty = false
31- datetime = " 2025-02-11 12:17:26 "
32- version = " 0.0.10 "
31+ datetime = " 2025-02-11 14:57:36 "
32+ version = " 0.0.11 "
3333
3434
3535[tool .versions .settings ]
You can’t perform that action at this time.
0 commit comments