We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef953c9 commit 3208edaCopy full SHA for 3208eda
.github/workflows/publish.yml
@@ -13,8 +13,8 @@ jobs:
13
14
- name: Set environnment package version from commit
15
run: |
16
- SHORT_SHA=$(echo ${{ github.sha }} | cut -c-12)
17
- echo "PACKAGE_VERSION=0.2.$(date +%Y%m%d)-${SHORT_SHA}" >> $GITHUB_ENV # use same convention as Go bindings
+ SHORT_SHA=$(echo ${{ github.sha }} | cut -c-6)
+ echo "PACKAGE_VERSION=0.2.$(date +%Y%m%d).$((16#${SHORT_SHA}))" >> $GITHUB_ENV # use similar convention as Go bindings, but with decimal digits only
18
19
- name: Set up Python 3.12
20
uses: actions/setup-python@v3
0 commit comments