Skip to content

Commit

Permalink
[CI] different scheme for versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Aug 27, 2024
1 parent d6e40ae commit 0473883
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish To PyPI
on:
push:
branches: ['main']

jobs:
build-publish:
runs-on: ubuntu-latest
Expand All @@ -12,14 +12,14 @@ jobs:
- uses: actions/checkout@v2

- name: Set environnment package version from commit
run: echo "PACKAGE_VERSION=v0.0.0-$(date +%Y%m%d)-${{ github.sha }}" >> $GITHUB_ENV # use same convention as Go bindings
run: echo "PACKAGE_VERSION=v0.2.$(date +%Y%m%d).${{ github.sha }}" >> $GITHUB_ENV # use same convention as Go bindings

- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"

- name: Install dependencies
- name: Install dependencies
run: pip install build twine

- name: Build wheel
Expand Down

0 comments on commit 0473883

Please sign in to comment.