Skip to content

Commit bad1db1

Browse files
committed
Merge branch 'release/0.0.11'
2 parents 22ad84c + fa62633 commit bad1db1

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.github/workflows/python-publish.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff 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

@@ -98,7 +97,7 @@ jobs:
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

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "prometheus-remote-writer"
3-
version = "0.0.10"
3+
version = "0.0.11"
44
description = "A Python package to send data using Prometheus remote write protocol."
55
authors = ["xy.kong <xy.kong@gmail.com>"]
66
license = "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
3030
is_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]

0 commit comments

Comments
 (0)