From b2dde49957695bddae2255a65921a19f8081ce82 Mon Sep 17 00:00:00 2001 From: Joe Kaufeld Date: Sat, 23 Jul 2022 15:36:49 -0400 Subject: [PATCH] test with timestamps --- .github/workflows/build_and_release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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