Skip to content

Commit 0473883

Browse files
committed
[CI] different scheme for versioning
1 parent d6e40ae commit 0473883

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Publish To PyPI
33
on:
44
push:
55
branches: ['main']
6-
6+
77
jobs:
88
build-publish:
99
runs-on: ubuntu-latest
@@ -12,14 +12,14 @@ jobs:
1212
- uses: actions/checkout@v2
1313

1414
- name: Set environnment package version from commit
15-
run: echo "PACKAGE_VERSION=v0.0.0-$(date +%Y%m%d)-${{ github.sha }}" >> $GITHUB_ENV # use same convention as Go bindings
16-
15+
run: echo "PACKAGE_VERSION=v0.2.$(date +%Y%m%d).${{ github.sha }}" >> $GITHUB_ENV # use same convention as Go bindings
16+
1717
- name: Set up Python 3.12
1818
uses: actions/setup-python@v3
1919
with:
2020
python-version: "3.12"
2121

22-
- name: Install dependencies
22+
- name: Install dependencies
2323
run: pip install build twine
2424

2525
- name: Build wheel

0 commit comments

Comments
 (0)