diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index 36206b9..9a6ef05 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -22,7 +22,9 @@ jobs: pip install shiv pip install poetry - name: Add CURRENT_TIME env property - run: echo "CURRENT_TIME_VERSION=v$(date -Iseconds)" >> $GITHUB_ENV + run: echo "CURRENT_TIME_VERSION=v$(date '+%s')" >> $GITHUB_ENV + - name: test + run: echo ${{ env.CURRENT_TIME_VERSION }} - name: Build the sucker run: | sed -i -e "s/?????/${{ env.CURRENT_TIME_VERSION }}/g" src/__init__.py